Index: LayoutTests/http/tests/serviceworker/fetch-event-network-error.html |
diff --git a/LayoutTests/http/tests/serviceworker/fetch-event-network-error.html b/LayoutTests/http/tests/serviceworker/fetch-event-network-error.html |
index 4f43ad839756a272a1fb50f69fb98f1ea8d1456c..567ffc14dfa218dc9807f8a283f42e326594e4b8 100644 |
--- a/LayoutTests/http/tests/serviceworker/fetch-event-network-error.html |
+++ b/LayoutTests/http/tests/serviceworker/fetch-event-network-error.html |
@@ -23,7 +23,7 @@ promise_test(function(t) { |
return service_worker_unregister_and_register(t, script, scope) |
.then(function(registration) { |
- return wait_for_activated(t, registration); |
+ return wait_for_state(t, registration.installing, 'activated'); |
}) |
.then(function() { |
return with_iframe(scope); |