script: Implement trusted types for DOMParser.parseFromString (#38872)

Part of #36258

Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
Tim van der Lippe 2025-08-27 08:10:16 +02:00 committed by GitHub
parent 4e85353472
commit d94929dbed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 41 additions and 25 deletions

View file

@ -1,9 +0,0 @@
[block-string-assignment-to-DOMParser-parseFromString.html]
[`document.innerText = string` throws.]
expected: FAIL
['document.innerText = null' throws]
expected: FAIL
['document.innerText = string' assigned via default policy (successful HTML transformation).]
expected: FAIL

View file

@ -1,3 +0,0 @@
[trusted-types-reporting-for-DOMParser-parseFromString.html]
[Violation report for plain string.]
expected: FAIL