Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / files / domurl-script-execution-context-crash.html
bloba1df80d53ce169e8faf421ab206ebd4954940682
1 <html>
2 <script>
3 function crash()
5 try {
6 e.apply(w, ['URL']);
7 } catch (ex) { }
8 document.body.innerHTML = "PASS: null security context for URL did not crash";
9 if (window.testRunner)
10 testRunner.notifyDone();
13 function load()
15 w.close();
16 setTimeout(crash, 30);
19 if (window.testRunner) {
20 testRunner.dumpAsText();
21 testRunner.setCanOpenWindows();
22 testRunner.setCloseRemainingWindowsWhenComplete(true);
23 testRunner.waitUntilDone();
26 e = (w = open()).eval;
27 </script>
28 <body onload="load()">
29 </body>
30 </html>