| 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 } | 7 } |
| 8 | 8 |
| 9 function runTest() { | 9 function runTest() { |
| 10 var a = window.frames[0]; | 10 var a = window.frames[0]; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 a.location = " javascript:document.write('FAIL')"; | 24 a.location = " javascript:document.write('FAIL')"; |
| 25 a.location = "javascript\t:document.write('FAIL')"; | 25 a.location = "javascript\t:document.write('FAIL')"; |
| 26 a.location = "javascript\1:document.write('FAIL')"; | 26 a.location = "javascript\1:document.write('FAIL')"; |
| 27 a.location = "javascript:document.write('FAIL')"; | 27 a.location = "javascript:document.write('FAIL')"; |
| 28 } | 28 } |
| 29 </script> | 29 </script> |
| 30 | 30 |
| 31 </head> | 31 </head> |
| 32 <body onload="runTest()"> | 32 <body onload="runTest()"> |
| 33 <br> | 33 <br> |
| 34 <iframe name = 'DUPA' src="data:text/html,<p>Inner text should not be replaced.<
p>"></iframe> | 34 <iframe id = 'DUPA' src="data:text/html,<p>Inner text should not be replaced.<p>
"></iframe> |
| 35 | 35 |
| 36 </body> | 36 </body> |
| 37 </html> | 37 </html> |
| OLD | NEW |