OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 if (window.testRunner) { | 4 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 testRunner.dumpChildFramesAsText(); | 6 testRunner.dumpChildFramesAsText(); |
7 testRunner.waitUntilDone(); | 7 testRunner.waitUntilDone(); |
8 } | 8 } |
9 | 9 |
10 function loaded() { | 10 function loaded() { |
(...skipping 15 matching lines...) Expand all Loading... |
26 + "</body>" | 26 + "</body>" |
27 + "</html>"; | 27 + "</html>"; |
28 | 28 |
29 var iframe = document.getElementById("aFrame"); | 29 var iframe = document.getElementById("aFrame"); |
30 iframe.src = url; | 30 iframe.src = url; |
31 } | 31 } |
32 </script> | 32 </script> |
33 </head> | 33 </head> |
34 <body onload="loaded();"> | 34 <body onload="loaded();"> |
35 <p>This tests that a data: URL loaded in an iframe doesn't have access to it
s parent's frame</p> | 35 <p>This tests that a data: URL loaded in an iframe doesn't have access to it
s parent's frame</p> |
36 <iframe id="aFrame"></iframe> | 36 <iframe id="aFrame" name="aFrame"></iframe> |
37 <p id='accessMe'>PASS: Cross frame access from a data: URL was denied.</p> | 37 <p id='accessMe'>PASS: Cross frame access from a data: URL was denied.</p> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |