Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / workers / worker-finish-crash.html
blobe64f5f5213afbda12bc156d8c68c9b726ba17973
1 <body>
2 <p>Test to ensure that finishing a Worker won't re-enter. We pass if we don't crash.</p>
3 <script>
5 if (window.testRunner) {
6 testRunner.dumpAsText();
7 testRunner.waitUntilDone();
10 var worker = new Worker("does-not-exist.js");
11 worker.onerror = function() {
12 window.stop();
13 if (window.testRunner)
14 testRunner.notifyDone();
17 </script>
18 </body>