summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/trusted-types/support/navigation-support.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/trusted-types/support/navigation-support.html')
-rw-r--r--testing/web-platform/tests/trusted-types/support/navigation-support.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/trusted-types/support/navigation-support.html b/testing/web-platform/tests/trusted-types/support/navigation-support.html
index 5e02e6d4bf..c2c8a82f51 100644
--- a/testing/web-platform/tests/trusted-types/support/navigation-support.html
+++ b/testing/web-platform/tests/trusted-types/support/navigation-support.html
@@ -32,7 +32,7 @@
// re-use the messageing mechanisms above. In order to not end up in a loop,
// we'll only click if we don't find fragment in the current URL.
const target_script = `location.href='${location.href}&continue';`;
- const target = `javascript:"<script>${target_script}</scri${""}pt>"`;
+ const target = `javascript:${target_script}`;
const anchor = document.getElementById("anchor");
anchor.href = target;