| Index: third_party/WebKit/LayoutTests/fast/workers/worker-gc-alive.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/workers/worker-gc-alive.html b/third_party/WebKit/LayoutTests/fast/workers/worker-gc-alive.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7d9c0d409f0f3d48c4b60f0964b6e953705ef5c1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/workers/worker-gc-alive.html
|
| @@ -0,0 +1,17 @@
|
| +<!doctype html>
|
| +<html>
|
| +<head>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +</head>
|
| +<body>
|
| +<script>
|
| +// hasPendingActivity() should keep wrapper and object alive inside a
|
| +// Worker also.
|
| +async_test(function(t) {
|
| + var worker = new Worker("resources/worker-xhr-onerror.js");
|
| + worker.onmessage = () => { t.done(); };
|
| +}, 'hasPendingActivity() should also keep wrapper and object alive inside a worker');
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|