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 <frameset rows="10%,*"> | 11 <frameset rows="10%,*"> |
12 <frame id='main' src="data:text/html,<p>This test passes as long as the word
'FAIL' and an accompanying message do not appear in the frame below.</p>"> | 12 <frame id='main' name='main' src="data:text/html,<p>This test passes as long
as the word 'FAIL' and an accompanying message do not appear in the frame below
.</p>"> |
13 <frame id='aFrame' src='http://localhost:8000/security/resources/cross-frame
-iframe.html'> | 13 <frame id='aFrame' name='aFrame' src='http://localhost:8000/security/resourc
es/cross-frame-iframe.html'> |
14 </frameset> | 14 </frameset> |
15 </html> | 15 </html> |
OLD | NEW |