-
weinig@apple.com authored
Reviewed by Tim Hatcher. Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript attempts when in private browsing mode (only an issue if Log JavaScript Exceptions is turned on) - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows) Added test: http/tests/security/cross-frame-access-private-browsing.html * DumpRenderTree/LayoutTestController.cpp: (setPrivateBrowsingEnabledCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Default to private browsing disabled. * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::setPrivateBrowsingEnabled): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::setPrivateBrowsingEnabled): LayoutTests: Reviewed by Tim Hatcher. Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript attempts when in private browsing mode (only an issue if Log JavaScript Exceptions is turned on) Test using the new LayoutTestController.setPrivateBrowsingEnabled(bool) * http/tests/security/cross-frame-access-private-browsing-expected.txt: Added. * http/tests/security/cross-frame-access-private-browsing.html: Added. * platform/win/Skipped: Add new test to windows skip list until we have an implementation of LayoutTestController.setPrivateBrowsingEnabled(bool) for it. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0be8d5fe