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

Unified Diff: LayoutTests/http/tests/serviceworker/appcache-ordering-main.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
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/chromium/memory-cache.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/chromium/memory-cache.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698