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 15ee080b1bf4d464274b49ec3524c77557b98900..0e50c41598a0cbfc395f8ec4c0d3acd76947d5a5 100644 |
--- a/LayoutTests/http/tests/serviceworker/resources/test-helpers.js |
+++ b/LayoutTests/http/tests/serviceworker/resources/test-helpers.js |
@@ -58,5 +58,5 @@ function with_iframe(url, f) { |
} |
function normalizeURL(url) { |
- return new URL(url, document.location).toString(); |
+ return new URL(url, document.location).toString().replace(/#.*$/, ''); |
} |