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

Unified Diff: LayoutTests/http/tests/serviceworker/fetch-event-after-navigation-within-page.html

Issue 1168393002: Service Worker: Add ServiceWorkerContainer.getRegistrations() method. (Blink layout tests) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove iframe at the end of the test. Created 5 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/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');
})

Powered by Google App Engine
This is Rietveld 408576698