| Index: LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| diff --git a/LayoutTests/http/tests/serviceworker/resources/test-helpers.js b/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| index dda9a69e3fc65fc2fd2442476ee491d531f4bbbf..ee960e50cc5c93ab583044c1ef9f284815bf10fe 100644
|
| --- a/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| +++ b/LayoutTests/http/tests/serviceworker/resources/test-helpers.js
|
| @@ -63,7 +63,7 @@ function unload_iframe(iframe) {
|
| }
|
|
|
| function normalizeURL(url) {
|
| - return new URL(url, document.location).toString().replace(/#.*$/, '');
|
| + return new URL(url, self.location).toString().replace(/#.*$/, '');
|
| }
|
|
|
| function wait_for_update(test, registration) {
|
|
|