| Index: LayoutTests/http/tests/serviceworker/fetch-request-xhr.html
|
| diff --git a/LayoutTests/http/tests/serviceworker/fetch-request-xhr.html b/LayoutTests/http/tests/serviceworker/fetch-request-xhr.html
|
| index 9c3c05242505280f1ed438db6bf82604aeec50f5..24525738806cb641a779d10b62701c61d3f69012 100644
|
| --- a/LayoutTests/http/tests/serviceworker/fetch-request-xhr.html
|
| +++ b/LayoutTests/http/tests/serviceworker/fetch-request-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) {
|
|
|