Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/registration-attribute-worker.js |
| diff --git a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/registration-attribute-worker.js b/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/registration-attribute-worker.js |
| index 38651374fac8be8c4be4ac7d963f1a5e7dd0dca6..5ac5098d69c4d8f6666561ce08e6ba53701132a8 100644 |
| --- a/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/registration-attribute-worker.js |
| +++ b/third_party/WebKit/LayoutTests/http/tests/serviceworker/ServiceWorkerGlobalScope/resources/registration-attribute-worker.js |
| @@ -3,6 +3,10 @@ importScripts('../../resources/worker-testharness.js'); |
| var events_seen = []; |
| +// TODO(nhiroki): Move these assertions to registration-attribute.html because |
| +// an assertion failure on the worker is not shown on the result page and |
| +// handlded as timeout. See registration-attribute-newer-worker.js for example. |
|
falken
2015/11/19 01:29:22
Ah I see this worker does the global state thing t
|
| + |
| assert_equals( |
| self.registration.scope, |
| normalizeURL('scope/registration-attribute'), |