| 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 e008b1e519ea3fd754364d9f9619e3f00440ce8e..42ec7e93630dc6f8da25656028b17dcec543431e 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) {
|
|
|