| Index: LayoutTests/http/tests/serviceworker/registration-end-to-end.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/registration-end-to-end.html b/LayoutTests/http/tests/serviceworker/registration-end-to-end.html
|
| index 877bd26ad3be33ea2adf28ce6155b344bbe82efe..ac99d5c1853e96b24c17e6df3ed755897db1c9c8 100644
|
| --- a/LayoutTests/http/tests/serviceworker/registration-end-to-end.html
|
| +++ b/LayoutTests/http/tests/serviceworker/registration-end-to-end.html
|
| @@ -23,9 +23,6 @@ t.step(function() {
|
|
|
| service_worker_unregister_and_register(
|
| t, 'resources/end-to-end-worker.js', scope)
|
| - .then(function(registration) {
|
| - return wait_for_update(t, registration);
|
| - })
|
| .then(onRegister)
|
| .catch(unreached_rejection(t));
|
|
|
| @@ -35,7 +32,8 @@ t.step(function() {
|
| return messageChannel.port1;
|
| }
|
|
|
| - function onRegister(sw) {
|
| + function onRegister(registration) {
|
| + var sw = registration.installing;
|
| serviceWorkerStates.push(sw.state);
|
| lastServiceWorkerState = sw.state;
|
|
|
|
|