| Index: LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/fetch-response-xhr.html b/LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
|
| index aaefc3ef865da7b924242d7f281052f51c4f2a14..ecec16e077daf458c5ce795415e38ecc8fb1153b 100644
|
| --- a/LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
|
| +++ b/LayoutTests/http/tests/serviceworker/fetch-response-xhr.html
|
| @@ -10,10 +10,7 @@ async_test(function(t) {
|
| var host_info = get_host_info();
|
| service_worker_unregister_and_register(t, SCRIPT, SCOPE)
|
| .then(function(registration) {
|
| - return wait_for_update(t, registration);
|
| - })
|
| - .then(function(sw) {
|
| - return wait_for_state(t, sw, 'activated');
|
| + return wait_for_state(t, registration.installing, 'activated');
|
| })
|
| .then(function() { return with_iframe(SCOPE); })
|
| .then(function(frame) {
|
|
|