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

Side by Side Diff: LayoutTests/http/tests/security/same-origin-document-domain-storage-allowed.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 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText();
8 internals.settings.setStorageBlockingPolicy('BlockThirdParty');
9 }
10
11 function decrement() {
12 --frames;
13 if (!frames && window.testRunner)
14 internals.settings.setStorageBlockingPolicy('AllowAll');
15 }
16 </script>
17 </head>
18 <body>
19 <p>This iframe should not return any errors:</p>
20 <iframe src="http://127.0.0.1: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/document-domain-iframe-for -local-storage.html" onload="decrement()"></iframe>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698