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

Unified Diff: LayoutTests/plugins/private-browsing-mode.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
Index: LayoutTests/plugins/private-browsing-mode.html
diff --git a/LayoutTests/plugins/private-browsing-mode.html b/LayoutTests/plugins/private-browsing-mode.html
deleted file mode 100644
index a28996bed5681e4ddf180b6a2e01240ce434bbf4..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/private-browsing-mode.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<head>
-<script src="../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body onload="runTest()">
-<p id="description"></p>
-<div id="console"></div>
-<script>
-function runTest()
-{
- if (!window.testRunner) {
- debug("This test can only run from within DumpRenderTree because it requires TestNetscapePlugin.\n");
- return;
- }
-
- plugin1 = document.createElement("embed");
- plugin1.type = "application/x-webkit-test-netscape";
- plugin1.setAttribute('test', 'private-browsing');
- document.body.appendChild(plugin1);
-
- shouldBe("plugin1.privateBrowsingEnabled", "false");
- shouldBe("plugin1.cachedPrivateBrowsingEnabled", "false");
-
- // Now enable private browsing
- testRunner.setPrivateBrowsingEnabled(true);
-
- shouldBe("plugin1.privateBrowsingEnabled", "true");
- shouldBe("plugin1.cachedPrivateBrowsingEnabled", "true");
-
- plugin2 = document.createElement("embed");
- plugin2.type = "application/x-webkit-test-netscape";
- plugin2.setAttribute('test', 'private-browsing');
- document.body.appendChild(plugin2);
-
- shouldBe("plugin2.privateBrowsingEnabled", "true");
- shouldBe("plugin2.cachedPrivateBrowsingEnabled", "true");
-
-}
-</script>
-
-<script>
-description("Tests that the private browsing API implementation works as expected");
-
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698