| Index: LayoutTests/http/tests/serviceworker/fetch-request-fallback.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/fetch-request-fallback.html b/LayoutTests/http/tests/serviceworker/fetch-request-fallback.html
|
| index 500b2160cd11a2d46390a08e5549b9643739c903..97e8778aa5b2815d2d054174075ccd12ce391388 100644
|
| --- a/LayoutTests/http/tests/serviceworker/fetch-request-fallback.html
|
| +++ b/LayoutTests/http/tests/serviceworker/fetch-request-fallback.html
|
| @@ -46,11 +46,8 @@ async_test(function(t) {
|
| var worker;
|
| 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() { return with_iframe(SCOPE); })
|
| .then(function(f) {
|
|
|