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

Unified Diff: LayoutTests/http/tests/serviceworker/unregister-controller.html

Issue 352423005: Add ServiceWorker InstallPhaseEvent.waitUntil() layout test. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add FIXME 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
« no previous file with comments | « LayoutTests/http/tests/serviceworker/state.html ('k') | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/unregister-controller.html
diff --git a/LayoutTests/http/tests/serviceworker/unregister-controller.html b/LayoutTests/http/tests/serviceworker/unregister-controller.html
index c4cc03308077ea65508054abfc60425339785c61..4716a40075b6516babdbd737f9a915ae4cd1be81 100644
--- a/LayoutTests/http/tests/serviceworker/unregister-controller.html
+++ b/LayoutTests/http/tests/serviceworker/unregister-controller.html
@@ -13,7 +13,7 @@ async_test(function(t) {
}));
function on_state_change(event) {
- if (event.target.state != 'active')
+ if (event.target.state != 'activated')
return;
with_iframe(scope, t.step_func(function(frame) {
var w = frame.contentWindow;
@@ -35,7 +35,7 @@ async_test(function(t) {
}));
function on_state_change(event) {
- if (event.target.state != 'active')
+ if (event.target.state != 'activated')
return;
navigator.serviceWorker.unregister(scope).then(t.step_func(function() {
with_iframe(scope, t.step_func(function(frame) {
« no previous file with comments | « LayoutTests/http/tests/serviceworker/state.html ('k') | Source/modules/serviceworkers/ServiceWorker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698