OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <body onload=runTest()> | |
3 <iframe src="data:text/html,"></iframe> | |
4 <script> | |
5 if (window.testRunner) | |
6 testRunner.dumpAsText(); | |
7 | |
8 function runTest() { | |
9 var a = window.frames[0]; | |
10 document.removeChild(document.head.parentNode); | |
11 a.location = "data:text/plain,pass"; | |
12 console.log("PASS (No crash.)"); | |
13 } | |
14 </script> | |
15 </body> | |
OLD | NEW |