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

Side by Side Diff: LayoutTests/http/tests/security/cross-origin-appcache.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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-origin-appcache-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 var frames = 2;
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.dumpChildFramesAsText();
8 testRunner.waitUntilDone();
9 internals.settings.setStorageBlockingPolicy('BlockThirdParty');
10 }
11 window.onmessage = function(message) {
12 --frames;
13 if (frames <= 0 && window.testRunner) {
14 internals.settings.setStorageBlockingPolicy('AllowAll');
15 testRunner.notifyDone();
16 }
17 }
18 </script>
19 </head>
20 <body>
21 <p>This iframe should not have a cache:</p>
22 <iframe src="http://localhost:8000/security/resources/cross-origin-iframe-for-ap pcache.html"></iframe>
23 <p>This iframe should have a cache:</p>
24 <iframe src="http://127.0.0.1:8000/security/resources/cross-origin-iframe-for-ap pcache.html"></iframe>
25 </body>
26 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/cross-origin-appcache-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698