| Index: LayoutTests/http/tests/serviceworker/extendable-event-async-waituntil.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/extendable-event-async-waituntil.html b/LayoutTests/http/tests/serviceworker/extendable-event-async-waituntil.html
|
| index 0791de37e93660752ee3dd58db278c46e4978d2b..9e12cb61e9c1fb93ab7985f3065a72857eff5067 100644
|
| --- a/LayoutTests/http/tests/serviceworker/extendable-event-async-waituntil.html
|
| +++ b/LayoutTests/http/tests/serviceworker/extendable-event-async-waituntil.html
|
| @@ -11,11 +11,8 @@ promise_test(function(t) {
|
|
|
| return service_worker_unregister_and_register(t, script, scope)
|
| .then(function(registration) {
|
| - return wait_for_update(t, registration);
|
| - })
|
| - .then(function(sw) {
|
| - worker = sw;
|
| - return wait_for_state(t, sw, 'activated');
|
| + worker = registration.installing;
|
| + return wait_for_state(t, worker, 'activated');
|
| })
|
| .then(function() {
|
| var channel = new MessageChannel();
|
|
|