| Index: third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/unregister-worker.js
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/unregister-worker.js b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/unregister-worker.js
|
| similarity index 89%
|
| copy from third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/unregister-worker.js
|
| copy to third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/unregister-worker.js
|
| index b4eb5a582f0aab2c8e21faa864c3df038406e423..6cee5365428d492f574a15b248a97a18d5477440 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/unregister-worker.js
|
| +++ b/third_party/WebKit/LayoutTests/imported/wpt/service-workers/service-worker/ServiceWorkerGlobalScope/resources/unregister-worker.js
|
| @@ -16,8 +16,8 @@ self.addEventListener('activate', function(e) {
|
| });
|
|
|
| self.addEventListener('message', function(e) {
|
| - e.waitUntil(self.registration.unregister()
|
| + self.registration.unregister()
|
| .then(function(result) {
|
| e.data.port.postMessage({result: result});
|
| - }));
|
| + });
|
| });
|
|
|