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

Side by Side Diff: LayoutTests/http/tests/security/resources/document-for-cross-origin-worker-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 var frames = 2;
6
7 function decrement() {
8 --frames;
9 if (!frames && window.testRunner) {
10 internals.settings.setStorageBlockingPolicy('AllowAll');
11 testRunner.notifyDone();
12 }
13 }
14
15 window.onmessage = decrement;
16 </script>
17 </head>
18 <body>
19 <p>The first iframe below should return a security error, and the second sho uld successfully open the database.</p>
20 <iframe src="http://localhost:8000/security/resources/cross-origin-iframe-fo r-worker-indexeddb.html"></iframe>
21 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-fo r-worker-indexeddb.html"></iframe>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698