OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 Test passes if it does not crash. | 3 Test passes if it does not crash. |
4 <base href=http://blocked> | 4 <base href=http://blocked> |
5 <script> | 5 <script> |
6 if (window.testRunner) { | 6 if (window.testRunner) { |
7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
8 testRunner.waitUntilDone(); | 8 testRunner.waitUntilDone(); |
9 } | 9 } |
10 | 10 |
11 function crash() | 11 function crash() |
12 { | 12 { |
13 GCController.collect(); | 13 GCController.collect(); |
14 if (window.testRunner) | 14 if (window.testRunner) |
15 testRunner.notifyDone(); | 15 testRunner.notifyDone(); |
16 } | 16 } |
17 </script> | 17 </script> |
18 <iframe onload=crash() src=does-not-exist.html srcdoc="<script>window.onload = f
unction() { frames[0].document.getElementsByTagName('a')[0].click(); }</script><
iframe seamless srcdoc='<a href=does-not-exist.html>'>"> | 18 <iframe onload=crash() src=does-not-exist.html srcdoc="<script>window.onload = f
unction() { frames[0].document.getElementsByTagName('a')[0].click(); }</script><
iframe seamless srcdoc='<a href=does-not-exist.html>'>"> |
19 </html> | 19 </html> |
OLD | NEW |