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

Unified Diff: LayoutTests/http/tests/serviceworker/chromium/force-refresh-registration.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: Address comments in registration-iframe.html 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/controller-on-reload.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/serviceworker/chromium/force-refresh-registration.html
diff --git a/LayoutTests/http/tests/serviceworker/chromium/force-refresh-registration.html b/LayoutTests/http/tests/serviceworker/chromium/force-refresh-registration.html
index 91cff70184f5ad3dadf57f38bd21b5a6abb62b3d..a1bc0648f2ecb7b06aa7d3588e9e20b7342c6452 100644
--- a/LayoutTests/http/tests/serviceworker/chromium/force-refresh-registration.html
+++ b/LayoutTests/http/tests/serviceworker/chromium/force-refresh-registration.html
@@ -11,10 +11,10 @@ async_test(function(t) {
with_iframe('../resources/blank.html')
.then(t.step_func(function(frame) {
var p = new Promise(function(resolve) {
- // Override onload handler assigned by with_iframe.
+ // Override onload handler assigned by with_iframe.
frame.onload = t.step_func(function() {
resolve(frame.contentWindow.navigator.serviceWorker.register(
- 'empty-worker.js',
+ '../resources/empty-worker.js',
{scope: scope}));
});
});
« no previous file with comments | « no previous file | LayoutTests/http/tests/serviceworker/controller-on-reload.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698