Index: LayoutTests/http/tests/serviceworker/fetch-event-after-navigation-within-page.html |
diff --git a/LayoutTests/http/tests/serviceworker/fetch-event-after-navigation-within-page.html b/LayoutTests/http/tests/serviceworker/fetch-event-after-navigation-within-page.html |
index c1c16811194ff9705a8777e943fbc2dfebad5d4b..d30eb7cc4a009939d0633ec53ee77152cfbb5b36 100644 |
--- a/LayoutTests/http/tests/serviceworker/fetch-event-after-navigation-within-page.html |
+++ b/LayoutTests/http/tests/serviceworker/fetch-event-after-navigation-within-page.html |
@@ -13,7 +13,7 @@ promise_test(function(t) { |
var worker = 'resources/simple-intercept-worker.js'; |
var frame; |
- service_worker_unregister_and_register(t, worker, scope) |
+ return service_worker_unregister_and_register(t, worker, scope) |
.then(function(reg) { |
return wait_for_state(t, reg.installing, 'activated'); |
}) |
@@ -41,7 +41,7 @@ promise_test(function(t) { |
var worker = 'resources/simple-intercept-worker.js'; |
var frame; |
- service_worker_unregister_and_register(t, worker, scope) |
+ return service_worker_unregister_and_register(t, worker, scope) |
.then(function(reg) { |
return wait_for_state(t, reg.installing, 'activated'); |
}) |