Source code

Revision control

Copy as Markdown

Other Tools

[parsehtmlunsafe-with-trustedtypes.html]
[Document.parseHTMLUnsafe: createParserOptions can inject a sanitizer config]
expected: FAIL
[Document.parseHTMLUnsafe: passing TrustedHTMLParserOptions 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