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

Unified Diff: LayoutTests/http/tests/security/cross-origin-local-storage-wk1.html

Issue 457893003: Remove unknown preferences errors in layout tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed to report all errors Created 6 years, 4 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-local-storage-wk1.html
diff --git a/LayoutTests/http/tests/security/cross-origin-local-storage-wk1.html b/LayoutTests/http/tests/security/cross-origin-local-storage-wk1.html
deleted file mode 100644
index 7c52e97df176d05060826a662b101d5f75bb54cf..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/cross-origin-local-storage-wk1.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<html>
-<head>
-<script>
-var frames = 2;
-if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.dumpChildFramesAsText();
- testRunner.overridePreference('WebKitStorageBlockingPolicy', 1);
-}
-
-function decrement() {
- --frames;
- if (!frames && window.testRunner)
- testRunner.overridePreference('WebKitStorageBlockingPolicy', 0);
-}
-</script>
-</head>
-<body>
-<p>This iframe should return a security error:</p>
-<iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-local-storage.html" onload="decrement()"></iframe>
-<p>This iframe should not return any errors:</p>
-<iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-local-storage.html" onload="decrement()"></iframe>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698