From ed62a799a807f3f5a6f8f81a9aae51e110d60000 Mon Sep 17 00:00:00 2001 From: Patrick Meenan Date: Tue, 5 Dec 2023 08:56:12 -0500 Subject: [PATCH] Remove split Co-authored-by: Rick Viscomi --- dist/test_result.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/test_result.js b/dist/test_result.js index f6fd257..2d41122 100644 --- a/dist/test_result.js +++ b/dist/test_result.js @@ -9,7 +9,7 @@ const sameOrigin = function(uri1, uri2){ return false; } const testUrl = $WPT_TEST_URL; -const currentUrl = document.location.href.split('#')[0]; +const currentUrl = document.location.href; if (sameOrigin(testUrl, currentUrl)) { return 0; // No change }