Index: LayoutTests/http/tests/serviceworker/chromium/postmessage-cross-process.html |
diff --git a/LayoutTests/http/tests/serviceworker/chromium/postmessage-cross-process.html b/LayoutTests/http/tests/serviceworker/chromium/postmessage-cross-process.html |
index d20366c3aa4781d892736063a04c6839f9c03515..64ccfe2f087e48b510beceba6dfb81b8270f1ddc 100644 |
--- a/LayoutTests/http/tests/serviceworker/chromium/postmessage-cross-process.html |
+++ b/LayoutTests/http/tests/serviceworker/chromium/postmessage-cross-process.html |
@@ -24,7 +24,7 @@ async_test(function(t) { |
t, 'resources/postmessage-cross-process-worker.js', scope) |
.then(function(r) { |
registration = r; |
- return wait_for_activated(t, registration); |
+ return wait_for_state(t, r.installing, 'activated'); |
}) |
.then(function() { |
var worker = registration.active; |