Skip to content

Commit

Permalink
Bug 1907849: part 9) Extend WPT to check sink value of "Document pars…
Browse files Browse the repository at this point in the history
…eHTMLUnsafe". r=smaug

One step towards fixing w3c/trusted-types#494.

Differential Revision: https://phabricator.services.mozilla.com/D232363

UltraBlame original commit: c006cb26e155686ac4c27d2a0797ff2ce03e39a8
  • Loading branch information
marco-c committed Jan 1, 2025
1 parent fb8b08f commit db203bc
Showing 1 changed file with 51 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,34 @@
"
>
<
link
rel
=
"
help
"
href
=
"
https
:
/
/
html
.
spec
.
whatwg
.
org
/
#
dom
-
parsehtmlunsafe
"
>
<
/
head
>
Expand Down Expand Up @@ -316,9 +344,31 @@
{
createHTML
:
(
value
_
sink
)
=
>
{
assert_equals
(
sink
"
Document
parseHTMLUnsafe
"
)
;
return
createHTMLJS
(
value
)
;
}
}
true
)
;
let
Expand Down

0 comments on commit db203bc

Please sign in to comment.