Index: LayoutTests/http/tests/serviceworker/appcache-ordering-main.html |
diff --git a/LayoutTests/http/tests/serviceworker/appcache-ordering-main.html b/LayoutTests/http/tests/serviceworker/appcache-ordering-main.html |
index bd0ca800ad801c5be6d4cff0fecc1cd3c52a46bb..5a39c264a00d4c65ef91f22416e844314e1ed909 100644 |
--- a/LayoutTests/http/tests/serviceworker/appcache-ordering-main.html |
+++ b/LayoutTests/http/tests/serviceworker/appcache-ordering-main.html |
@@ -70,7 +70,7 @@ async_test(function(t) { |
t, SERVICE_WORKER_SCRIPT, SERVICE_WORKER_SCOPE); |
}) |
.then(function(r) { |
- return wait_for_activated(t, r); |
+ return wait_for_state(t, r.installing, 'activated'); |
}) |
.then(function() { |
return is_appcached(); |