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 </script> | 9 </script> |
10 </head> | 10 </head> |
11 <body> | 11 <body> |
12 <p>The scenario for this test is that you have an iframe with content from a
foreign domain. In that foreign content | 12 <p>The scenario for this test is that you have an iframe with content from a
foreign domain. In that foreign content |
13 is an iframe which loads a data: URL. This tests that the data: URL loa
ded iframe does not have access | 13 is an iframe which loads a data: URL. This tests that the data: URL loa
ded iframe does not have access |
14 to the main frame using top.document.</p> | 14 to the main frame using top.document.</p> |
15 <p id='accessMe'>Pass: Cross frame access from a data: URL on a different do
main was denied.</p> | 15 <p id='accessMe'>Pass: Cross frame access from a data: URL on a different do
main was denied.</p> |
16 <iframe id='aFrame' src="http://localhost:8000/security/dataURL/resources/fo
reign-domain-data-url-accessor-iframe.html" style="width: 400px; height:200px;">
</iframe> | 16 <iframe name='aFrame' src="http://localhost:8000/security/dataURL/resources/
foreign-domain-data-url-accessor-iframe.html" style="width: 400px; height:200px;
"></iframe> |
17 </body> | 17 </body> |
18 </html> | 18 </html> |
OLD | NEW |