Index: LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html |
diff --git a/LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html b/LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html |
index 48d9680688d6b42957b299c394198fdaab92f7a7..c27fbd597eaaf5e8bbfcec80d9437cce645bd811 100644 |
--- a/LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html |
+++ b/LayoutTests/http/tests/serviceworker/fetch-event-async-respond-with.html |
@@ -10,7 +10,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); |