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; |