| Index: LayoutTests/http/tests/serviceworker/activation-after-registration.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/activation-after-registration.html b/LayoutTests/http/tests/serviceworker/activation-after-registration.html
|
| index 06b716b3f2aeb7d6f285cc359ccec63629dd542f..1ce65623482e6a172d49d0a3bbe5a46e474f42ae 100644
|
| --- a/LayoutTests/http/tests/serviceworker/activation-after-registration.html
|
| +++ b/LayoutTests/http/tests/serviceworker/activation-after-registration.html
|
| @@ -14,14 +14,11 @@ t.step(function() {
|
| t, 'resources/empty-worker.js', scope)
|
| .then(function(r) {
|
| registration = r;
|
| - return wait_for_update(t, registration);
|
| - })
|
| - .then(function(worker) {
|
| assert_equals(
|
| - worker.state,
|
| + r.installing.state,
|
| 'installing',
|
| 'worker should be in the "installing" state upon registration');
|
| - return wait_for_state(t, worker, 'activated');
|
| + return wait_for_state(t, r.installing, 'activated');
|
| })
|
| .then(function() {
|
| service_worker_unregister_and_done(t, scope);
|
|
|