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

Unified Diff: LayoutTests/http/tests/serviceworker/activation-after-registration.html

Issue 352423005: Add ServiceWorker InstallPhaseEvent.waitUntil() layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review update Created 6 years, 6 months 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/activation-after-registration.html
diff --git a/LayoutTests/http/tests/serviceworker/activation-after-registration.html b/LayoutTests/http/tests/serviceworker/activation-after-registration.html
index b311b3dce725624401b0a1129021170496cc97de..a1fbe2e28ea5be0ec887aededcc1ff81ddb8c357 100644
--- a/LayoutTests/http/tests/serviceworker/activation-after-registration.html
+++ b/LayoutTests/http/tests/serviceworker/activation-after-registration.html
@@ -14,7 +14,7 @@ t.step(function() {
function onRegister(worker) {
assert_equals(worker.state, 'parsed', 'worker should be in the "parsed" state upon registration');
worker.addEventListener('statechange', t.step_func(function(event) {
- if (event.target.state == 'active')
+ if (event.target.state == 'activated')
service_worker_unregister_and_done(t, scope);
}));
}

Powered by Google App Engine
This is Rietveld 408576698