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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 var frames = 2;
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText();
8 testRunner.overridePreference('WebKitStorageBlockingPolicy', 1);
9 }
10
11 function decrement() {
12 --frames;
13 if (!frames && window.testRunner)
14 testRunner.overridePreference('WebKitStorageBlockingPolicy', 0);
15 }
16 </script>
17 </head>
18 <body>
19 <p>This iframe should return a security error:</p>
20 <iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-lo cal-storage.html" onload="decrement()"></iframe>
21 <p>This iframe should not return any errors:</p>
22 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-lo cal-storage.html" onload="decrement()"></iframe>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698