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

Unified Diff: LayoutTests/http/tests/security/storage-blocking-strengthened-shared-worker.html

Issue 14089003: Remove storageBlockingPolicy (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/storage-blocking-strengthened-shared-worker.html
diff --git a/LayoutTests/http/tests/security/storage-blocking-strengthened-shared-worker.html b/LayoutTests/http/tests/security/storage-blocking-strengthened-shared-worker.html
deleted file mode 100644
index 48f9b9e0c3e5791b9a53cdc29485e44d52821581..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/storage-blocking-strengthened-shared-worker.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
-<head>
-<script>
-if (window.testRunner) {
- testRunner.waitUntilDone();
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
-}
-
-window.onmessage = function() {
- if (window.testRunner)
- internals.settings.setStorageBlockingPolicy('BlockAll');
- for (var i = 0; i < window.frames.length; ++i)
- window.frames[i].postMessage('blocked', '*');
-
- window.onmessage = function() {
- if (window.testRunner) {
- internals.settings.setStorageBlockingPolicy('AllowAll');
- testRunner.notifyDone();
- }
- }
-}
-</script>
-</head>
-<body>
-<p>This iframe should return only one security error:</p>
-<iframe src="http://127.0.0.1:8000/security/resources/iframe-for-storage-blocking-changed-shared-worker.html"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698