Index: third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/onactivate-script-error.https.html |
diff --git a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/onactivate-script-error.https.html b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/onactivate-script-error.https.html |
index 23a7f2c86868ee57b0556b63c1caa23d6db40c8f..8bba79756eeccfb7e28f0bbd5c9223ca2d13b926 100644 |
--- a/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/onactivate-script-error.https.html |
+++ b/third_party/WebKit/LayoutTests/external/wpt/service-workers/service-worker/onactivate-script-error.https.html |
@@ -37,12 +37,6 @@ function make_test(name, script) { |
}) |
.then(function() { |
// Activate should succeed regardless of script errors. |
- if (registration.active && registration.active.state == 'activated') { |
- return Promise.resolve(); |
- } else if (registration.active) { |
- return wait_for_activate(registration.active); |
- } |
- |
return wait_for_activate(registration.waiting); |
}); |
falken
2017/05/19 02:19:04
I think we need to unregister the worker.
mike3
2017/05/19 15:54:51
Done.
|
}, name); |