Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: LayoutTests/http/tests/security/cross-frame-access-private-browsing.html

Issue 13861033: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Repatch to ToT Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-frame-access-private-browsing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/security/cross-frame-access-private-browsing.html
diff --git a/LayoutTests/http/tests/security/cross-frame-access-private-browsing.html b/LayoutTests/http/tests/security/cross-frame-access-private-browsing.html
deleted file mode 100644
index 24f34db4487d2ec1fef6a1a2b7eec68e06878dfc..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/cross-frame-access-private-browsing.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
-<head>
- <script src="resources/cross-frame-access.js"></script>
- <script>
- function loaded() {
- if (!window.testRunner) {
- log("This test must be run in the DumpRenderTree to work.");
- return;
- }
-
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- testRunner.waitUntilDone();
-
- // Poll until the subframe has finished loading.
- setTimeout(waitForFlag, 1);
- function waitForFlag() {
- if (!testRunner.globalFlag) {
- setTimeout(waitForFlag, 1);
- return;
- }
- runTest();
- }
- }
-
- function runTest() {
- var subFrame = window.frames[0];
- testRunner.setPrivateBrowsingEnabled(true);
-
- try {
- log("Attempting to violate the same-origin policy with private browsing enabled. If this succeeds the console should not log the violation.");
- // Access the document to violate the same-origin policy.
- var doc = subFrame.document;
- } catch(e) {
- }
-
- testRunner.notifyDone();
- }
- </script>
-</head>
-<body onload="loaded();">
- <p>This test checks cross-frame access security checks don't log when private browsing is enabled (rdar://problem/5394877).</p>
- <iframe src="http://localhost:8000/security/resources/cross-frame-iframe.html"></iframe>
- <pre id="console"></pre>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-frame-access-private-browsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698