| 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 function loaded() { | 9 function loaded() { |
| 10 var innerURL = "data:text/html,<html>" | 10 var innerURL = "data:text/html,<html>" |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 + "</body>" | 32 + "</body>" |
| 33 + "</html>"; | 33 + "</html>"; |
| 34 | 34 |
| 35 var iframe = document.getElementById("aFrame"); | 35 var iframe = document.getElementById("aFrame"); |
| 36 iframe.src = url; | 36 iframe.src = url; |
| 37 } | 37 } |
| 38 </script> | 38 </script> |
| 39 </head> | 39 </head> |
| 40 <body onload="loaded();"> | 40 <body onload="loaded();"> |
| 41 <p>This tests that a data: URL loaded in an iframe inside another data: URL
loaded iframe doesn't have access to the main frame.</p> | 41 <p>This tests that a data: URL loaded in an iframe inside another data: URL
loaded iframe doesn't have access to the main frame.</p> |
| 42 <iframe id="aFrame" name="aFrame" style="width: 500px; height: 300px;"></ifr
ame> | 42 <iframe id="aFrame" style="width: 500px; height: 300px;"></iframe> |
| 43 <p id='accessMe'>PASS: Cross frame access from a data: URL inside another da
ta: URL was denied.</p> | 43 <p id='accessMe'>PASS: Cross frame access from a data: URL inside another da
ta: URL was denied.</p> |
| 44 </body> | 44 </body> |
| 45 </html> | 45 </html> |
| OLD | NEW |