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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot.html

Issue 2691903005: ServiceWorker: Change base URL for parsing script URL and scope URL (Closed)
Patch Set: Fix tests Created 3 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: third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot.html b/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot.html
index 24ae30ed7b343e7117411237250462efb5fbea54..553c45d51a516a77540acc683f2f17ebe0dec065 100644
--- a/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot.html
+++ b/third_party/WebKit/LayoutTests/http/tests/background_sync/oneshot.html
@@ -27,7 +27,7 @@ promise_test(function(t) {
})
.then(function(frame) {
var w = frame.contentWindow;
- return w.navigator.serviceWorker.getRegistration(scope);
+ return w.navigator.serviceWorker.getRegistration('oneshot.html');
falken 2017/02/24 06:49:27 I prefer to not repeat the 'oneshot.html' string.
jungkees 2017/02/24 12:25:26 Done.
})
.then(function(sw_registration_frame) {
sync_manager = sw_registration_frame.sync;

Powered by Google App Engine
This is Rietveld 408576698