Source code
Revision control
Copy as Markdown
Other Tools
[parsehtmlunsafe-with-trustedtypes.tentative.html]
[Document.parseHTMLUnsafe: createParserOptions can inject a sanitizer config]
expected: FAIL
[Document.parseHTMLUnsafe: createParserOptions returning 0 fails]
expected: FAIL
[Document.parseHTMLUnsafe: createParserOptions returning 123 fails]
expected: FAIL
[Document.parseHTMLUnsafe: createParserOptions returning "foo" fails]
expected: FAIL
[Document.parseHTMLUnsafe: passing TrustedHTMLParserOptions directly works]
expected: FAIL