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

Unified Diff: LayoutTests/http/tests/security/cross-origin-indexeddb.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/cross-origin-indexeddb.html
diff --git a/LayoutTests/http/tests/security/cross-origin-indexeddb.html b/LayoutTests/http/tests/security/cross-origin-indexeddb.html
deleted file mode 100644
index fde264125d200d5bfa9ced7c460480faf2c7e3ed..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/cross-origin-indexeddb.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script>
- var frames = 2;
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- internals.settings.setStorageBlockingPolicy('BlockThirdParty');
- }
-
- function decrement() {
- --frames;
- if (!frames && window.testRunner)
- internals.settings.setStorageBlockingPolicy('AllowAll');
- }
- </script>
-</head>
-<body>
- <p>The first iframe below should return a security error, and the second should successfully open the database.</p>
- <iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-indexeddb.html" onload="decrement()"></iframe>
- <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-indexeddb.html" onload="decrement()"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698