| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../resources/cross-frame-access.js"></script> | 3 <script src="../resources/cross-frame-access.js"></script> |
| 4 <script> | 4 <script> |
| 5 window.onload = function() | 5 // FIXME[11] window.onload = function() |
| 6 { | 6 { |
| 7 if (window.testRunner) { | 7 if (window.testRunner) { |
| 8 testRunner.dumpAsText(); | 8 testRunner.dumpAsText(); |
| 9 testRunner.dumpChildFramesAsText(); | 9 testRunner.dumpChildFramesAsText(); |
| 10 testRunner.waitUntilDone(); | 10 testRunner.waitUntilDone(); |
| 11 } | 11 } |
| 12 | 12 |
| 13 window.addEventListener('message', function () | 13 window.addEventListener('message', function () |
| 14 { | 14 { |
| 15 runTest(); | 15 runTest(); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 30 </script> | 30 </script> |
| 31 </head> | 31 </head> |
| 32 <body> | 32 <body> |
| 33 <p>The scenario for this test is that you have an iframe with content from a
foreign domain. In that foreign content | 33 <p>The scenario for this test is that you have an iframe with content from a
foreign domain. In that foreign content |
| 34 is an iframe which loads a data: URL. This tests that this main documen
t does not have access to that | 34 is an iframe which loads a data: URL. This tests that this main documen
t does not have access to that |
| 35 data: URL loaded iframe.</p> | 35 data: URL loaded iframe.</p> |
| 36 <iframe src="http://localhost:8000/security/dataURL/resources/foreign-domain
-data-url-accessee-iframe.html" style="width: 400px; height:200px;"></iframe> | 36 <iframe src="http://localhost:8000/security/dataURL/resources/foreign-domain
-data-url-accessee-iframe.html" style="width: 400px; height:200px;"></iframe> |
| 37 <pre id="console"></pre> | 37 <pre id="console"></pre> |
| 38 </body> | 38 </body> |
| 39 </html> | 39 </html> |
| OLD | NEW |