Index: LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html |
diff --git a/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html b/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html |
index 7d171ab55d199b6f8135339d9fe741647271b925..aa071dd44b3f1df7615e04562dcdd9ce6ccb2527 100644 |
--- a/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html |
+++ b/LayoutTests/http/tests/serviceworker/sync-xhr-doesnt-deadlock.html |
@@ -11,7 +11,7 @@ async_test(function(t) { |
service_worker_unregister_and_register(t, url, scope) |
.then(function(registration) { |
- return wait_for_activated(t, registration); |
+ return wait_for_state(t, registration.installing, 'activated'); |
}) |
.then(function() { return with_iframe(scope); }) |
.then(function(frame) { |