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 if (window.testRunner) { | 5 if (window.testRunner) { |
6 testRunner.dumpAsText(); | 6 testRunner.dumpAsText(); |
7 testRunner.dumpChildFramesAsText(); | 7 testRunner.dumpChildFramesAsText(); |
8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
9 } | 9 } |
10 | 10 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 log('PASS: Cross frame access to a data: URL 2 levels deep was denie
d.'); | 64 log('PASS: Cross frame access to a data: URL 2 levels deep was denie
d.'); |
65 if (window.testRunner) | 65 if (window.testRunner) |
66 testRunner.notifyDone(); | 66 testRunner.notifyDone(); |
67 } | 67 } |
68 | 68 |
69 </script> | 69 </script> |
70 </head> | 70 </head> |
71 <body onload="loaded();"> | 71 <body onload="loaded();"> |
72 <p>This tests that the main frame doesn't have access to a data: URL loaded
in an iframe inside another data: URL loaded iframe.</p> | 72 <p>This tests that the main frame doesn't have access to a data: URL loaded
in an iframe inside another data: URL loaded iframe.</p> |
73 <button onclick="performTest()">Test</button> | 73 <button onclick="performTest()">Test</button> |
74 <iframe id="aFrame" style="width: 500px; height: 300px;"></iframe> | 74 <iframe id="aFrame" name="aFrame" style="width: 500px; height: 300px;"></ifr
ame> |
75 <pre id='console'></pre> | 75 <pre id='console'></pre> |
76 </body> | 76 </body> |
77 </html> | 77 </html> |
OLD | NEW |