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

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

Issue 835673006: Use caller's document url to resolve scriptURL/patternURL in registerServiceWorker/getRegistration (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed two related tests which are using iframe Created 5 years, 10 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/controller-on-reload.html
diff --git a/LayoutTests/http/tests/serviceworker/controller-on-reload.html b/LayoutTests/http/tests/serviceworker/controller-on-reload.html
index 549d45869e90ff8dadaef2ee2f3457e638cb85de..7eb35102a4ce1864a20a33ce81f3eea24de37d96 100644
--- a/LayoutTests/http/tests/serviceworker/controller-on-reload.html
+++ b/LayoutTests/http/tests/serviceworker/controller-on-reload.html
@@ -24,8 +24,8 @@ t.step(function() {
return;
}
- w.navigator.serviceWorker.register('empty-worker.js',
- {scope: 'blank.html'})
+ w.navigator.serviceWorker.register('resources/empty-worker.js',
+ {scope: 'resources/blank.html'})
.then(function(registration) {
return wait_for_state(t, registration.installing, 'activated');
})

Powered by Google App Engine
This is Rietveld 408576698