| Index: LayoutTests/http/tests/serviceworker/controller-on-load.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/controller-on-load.html b/LayoutTests/http/tests/serviceworker/controller-on-load.html
|
| index 6c5bfd1145f7469389e858592a3283dd4f7a1a9a..5a6a447d29f97661486085fdddd06bec21010833 100644
|
| --- a/LayoutTests/http/tests/serviceworker/controller-on-load.html
|
| +++ b/LayoutTests/http/tests/serviceworker/controller-on-load.html
|
| @@ -11,10 +11,7 @@ t.step(function() {
|
| var scope = 'resources/blank.html';
|
| service_worker_unregister_and_register(t, url, scope)
|
| .then(t.step_func(function(registration) {
|
| - return wait_for_update(t, registration);
|
| - }))
|
| - .then(t.step_func(function(worker) {
|
| - return wait_for_state(t, worker, 'activated');
|
| + return wait_for_state(t, registration.installing, 'activated');
|
| }))
|
| .then(t.step_func(function() {
|
| return with_iframe(scope)
|
|
|