OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/javascriptURL-execution-context.js"></script> | 4 <script src="resources/javascriptURL-execution-context.js"></script> |
5 <script> | 5 <script> |
6 function setter(frame, url) { | 6 function setter(frame, url) { |
7 frame.setAttributeNS(null, 'src', url); | 7 frame.setAttributeNS(null, 'src', url); |
8 } | 8 } |
9 </script> | 9 </script> |
10 </head> | 10 </head> |
11 <body> | 11 <body> |
12 <p>This test passes as long as the word 'FAIL' and an accompanying message d
o not appear in the subframe.</p> | 12 <p>This test passes as long as the word 'FAIL' and an accompanying message d
o not appear in the subframe.</p> |
13 <pre id='console'></pre> | 13 <pre id='console'></pre> |
14 <iframe id='aFrame' src='http://localhost:8000/security/resources/cross-fram
e-iframe.html'></iframe> | 14 <iframe id='aFrame' name='aFrame' src='http://localhost:8000/security/resour
ces/cross-frame-iframe.html'></iframe> |
15 </body> | 15 </body> |
16 </html> | 16 </html> |
OLD | NEW |