Source code

Revision control

Copy as Markdown

Other Tools

[sanitizer-config.tentative.html]
[Sanitizer constructor without config.]
expected: FAIL
[Sanitizer constructor with empty config.]
expected: FAIL
[Sanitizer constructor with null as config.]
expected: FAIL
[Sanitizer constructor with undefined as config.]
expected: FAIL
[Sanitizer constructor with config ignore unknown values.]
expected: FAIL
[SanitizerConfig comments field.]
expected: FAIL
[SanitizerConfig dataAttributes field.]
expected: FAIL
[SanitizerConfig, normalization: elements: ["div"\]]
expected: FAIL
[SanitizerConfig, normalization: elements: [{"name":"b"}\]]
expected: FAIL
[SanitizerConfig, normalization: elements: [{"name":"p","namespace":"http://www.w3.org/1999/xhtml"}\]]
expected: FAIL
[SanitizerConfig, normalization: elements: [{"name":"bla","namespace":"http://fantasy.org/namespace"}\]]
expected: FAIL
[SanitizerConfig, normalization: removeElements: ["div"\]]
expected: FAIL
[SanitizerConfig, normalization: removeElements: [{"name":"b"}\]]
expected: FAIL
[SanitizerConfig, normalization: removeElements: [{"name":"p","namespace":"http://www.w3.org/1999/xhtml"}\]]
expected: FAIL
[SanitizerConfig, normalization: removeElements: [{"name":"bla","namespace":"http://fantasy.org/namespace"}\]]
expected: FAIL
[SanitizerConfig, normalization: replaceWithChildrenElements: ["div"\]]
expected: FAIL
[SanitizerConfig, normalization: replaceWithChildrenElements: [{"name":"b"}\]]
expected: FAIL
[SanitizerConfig, normalization: replaceWithChildrenElements: [{"name":"p","namespace":"http://www.w3.org/1999/xhtml"}\]]
expected: FAIL
[SanitizerConfig, normalization: replaceWithChildrenElements: [{"name":"bla","namespace":"http://fantasy.org/namespace"}\]]
expected: FAIL
[SanitizerConfig, normalization: attributes: ["href"\]]
expected: FAIL
[SanitizerConfig, normalization: attributes: [{"name":"href","namespace":null}\]]
expected: FAIL
[SanitizerConfig, normalization: attributes: [{"name":"href","namespace":""}\]]
expected: FAIL
[SanitizerConfig, normalization: attributes: [{"name":"href","namespace":"https://www.w3.org/1999/xlink"}\]]
expected: FAIL
[SanitizerConfig, normalization: removeAttributes: ["href"\]]
expected: FAIL
[SanitizerConfig, normalization: removeAttributes: [{"name":"href","namespace":null}\]]
expected: FAIL
[SanitizerConfig, normalization: removeAttributes: [{"name":"href","namespace":""}\]]
expected: FAIL
[SanitizerConfig, normalization: removeAttributes: [{"name":"href","namespace":"https://www.w3.org/1999/xlink"}\]]
expected: FAIL
[Test elements addition.]
expected: FAIL
[Test elements removal.]
expected: FAIL
[Test elements replacewithchildren.]
expected: FAIL
[Test attribute addition.]
expected: FAIL
[Test attribute removal.]
expected: FAIL
[Test attribute-per-element sets (i.e. overwrites).]
expected: FAIL
[Test removeAttribute-per-element sets (i.e. overwrites).]
expected: FAIL