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

Side by Side Diff: LayoutTests/http/tests/security/resources/document-for-cross-origin-worker-websql.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 var frames = 2;
5
6 function decrement(event) {
7 --frames;
8 if (!frames && window.testRunner) {
9 internals.settings.setStorageBlockingPolicy('AllowAll');
10 testRunner.notifyDone();
11 }
12 }
13
14 window.onmessage = decrement;
15 </script>
16 </head>
17 <body>
18 <p>This iframe should return a security error:</p>
19 <iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-wo rker-websql.html"></iframe>
20 <p>This iframe should not return any errors:</p>
21 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-wo rker-websql.html"></iframe>
22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698