summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/trusted-types/default-policy-callback-arguments.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/trusted-types/default-policy-callback-arguments.html')
-rw-r--r--testing/web-platform/tests/trusted-types/default-policy-callback-arguments.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/trusted-types/default-policy-callback-arguments.html b/testing/web-platform/tests/trusted-types/default-policy-callback-arguments.html
index a4a9c9e351..4801b55387 100644
--- a/testing/web-platform/tests/trusted-types/default-policy-callback-arguments.html
+++ b/testing/web-platform/tests/trusted-types/default-policy-callback-arguments.html
@@ -31,7 +31,7 @@
const cases = [
[ "abc", "TrustedHTML", "Element innerHTML",
_ => div.innerHTML = "abc" ],
- [ "2+2", "TrustedScript", "Node textContent",
+ [ "2+2", "TrustedScript", "HTMLScriptElement textContent",
_ => script.textContent = "2+2" ],
[ "about:blank", "TrustedScriptURL", "HTMLScriptElement src",
_ => script.src = "about:blank" ],