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

Unified Diff: LayoutTests/plugins/private-browsing-mode-2.html

Issue 14142009: Remove Apple's unused implementation of private browsing from WebCore (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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-2.html
diff --git a/LayoutTests/plugins/private-browsing-mode-2.html b/LayoutTests/plugins/private-browsing-mode-2.html
deleted file mode 100644
index 1c9b8a328786a3a72807d031e00c5c9110278322..0000000000000000000000000000000000000000
--- a/LayoutTests/plugins/private-browsing-mode-2.html
+++ /dev/null
@@ -1,43 +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");
-
- // Now enable private browsing
- testRunner.setPrivateBrowsingEnabled(true);
-
- shouldBe("plugin1.privateBrowsingEnabled", "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");
- testRunner.setPrivateBrowsingEnabled(false);
- shouldBe("plugin1.privateBrowsingEnabled", "false");
- shouldBe("plugin2.privateBrowsingEnabled", "false");
-}
-</script>
-
-<script>
-description("Tests that NPNVprivateModeBool is supported by the WebKit plugin view. \n This test is for WebKit platforms that wish to support NPNVprivateModeBool but do not wish to implement the preference change listener required to support a cachedPrivateBrowsingEnabled property similar to the one provided by Safari and tested for in private-browsing-mode.html");
-
-
-</script>
« no previous file with comments | « LayoutTests/plugins/private-browsing-mode.html ('k') | LayoutTests/plugins/private-browsing-mode-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698