Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / frames / resources / no-file-access-frame-1.html
blobcf687a55ad776cbf41c072c57d5b035746be8af9
1 <html>
2 <head>
3 <script>
4 if (window.testRunner) {
5 testRunner.dumpAsText();
6 testRunner.waitUntilDone();
7 testRunner.setAllowUniversalAccessFromFileURLs(false);
8 testRunner.setAllowFileAccessFromFileURLs(false);
10 window.onload = function() {
11 parent.frames[1].location='no-file-access-frame-2.html';
13 </script>
14 </head>
15 <body>
16 <p>This tests if a file URL can navigate a peer file URL frame.
17 If the test failed it will hang and the frame to the right will remain blank.</p>
18 </body>
19 </html>