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: passing TrustedParserOptions directly works]
expected: FAIL
[Document.parseHTMLUnsafe: createParserOptions returning null fails]
expected: FAIL
[Document.parseHTMLUnsafe: createParserOptions returning undefined fails]
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