| Index: third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/close/setTimeout.html
|
| diff --git a/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/close/setTimeout.html b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/close/setTimeout.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c2fa10dfc978028c107c33d35683eed66311d87d
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/workers/interfaces/WorkerGlobalScope/close/setTimeout.html
|
| @@ -0,0 +1,28 @@
|
| +<!--
|
| +function x() {
|
| + postMessage(1);
|
| + throw new Error();
|
| +}
|
| +setTimeout(x, 0);
|
| +close();
|
| +setTimeout(x, 0);
|
| +/*
|
| +-->
|
| +<!doctype html>
|
| +<title>close() and setTimeout</title>
|
| +<script src="/resources/testharness.js"></script>
|
| +<script src="/resources/testharnessreport.js"></script>
|
| +<div id="log"></div>
|
| +<script>
|
| +var worker = new Worker('#');
|
| +worker.onmessage = function(e) {
|
| + assert_unreached("Got message");
|
| +};
|
| +worker.onerror = function(e) {
|
| + assert_unreached("Got error");
|
| +};
|
| +setTimeout(done, 2000);
|
| +</script>
|
| +<!--
|
| +*/
|
| +//-->
|
|
|