Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(221)

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/postmessage-cross-process.html

Issue 790683002: ServiceWorker cleanup: remove wait_for_activated(); just use wait_for_state() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698