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

Unified Diff: LayoutTests/http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.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/http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.html
diff --git a/LayoutTests/http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.html b/LayoutTests/http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.html
deleted file mode 100644
index f7fa079697db5e888952e400c0661554a91795b2..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/cross-origin-plugin-private-browsing-toggled-allowed.html
+++ /dev/null
@@ -1,37 +0,0 @@
-<html>
-<head>
-<script>
-var frames = 2;
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- testRunner.setPrivateBrowsingEnabled(true);
- testRunner.waitUntilDone();
-}
-
-function decrement() {
- --frames;
- if (!frames) {
- if (window.testRunner)
- testRunner.setPrivateBrowsingEnabled(false);
- for (var i = 0; i < 2; ++i) {
- var frame = document.getElementsByTagName('iframe')[i].contentWindow;
- frame.postMessage('loaded', '*');
- }
- frames = 2;
- }
-}
-
-window.onmessage = function() {
- --frames;
- if (window.testRunner)
- testRunner.notifyDone();
-}
-</script>
-<body>
-<p>This iframe should not have private browsing enabled:</p>
-<iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-plugin-async.html" onload="decrement()"></iframe>
-<p>This iframe should not have private browsing enabled:</p>
-<iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-plugin-async.html" onload="decrement()"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698