Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / window-load-crash.html
blob27cccdf86298cd280a1f1fba10489d119e3d8947
1 <!DOCTYPE html>
2 <html>
3 Test passes if it does not crash.
4 <base href=http://blocked>
5 <script>
6 if (window.testRunner) {
7 testRunner.dumpAsText();
8 testRunner.waitUntilDone();
11 function crash()
13 GCController.collect();
14 if (window.testRunner)
15 testRunner.notifyDone();
17 </script>
18 <iframe onload=crash() src=does-not-exist.html srcdoc="<script>window.onload = function() { frames[0].document.getElementsByTagName('a')[0].click(); }</script><iframe seamless srcdoc='<a href=does-not-exist.html>'>">
19 </html>