Source code

Revision control

Copy as Markdown

Other Tools

[sanitizer-sanitizeFor.https.tentative.html]
expected:
if (os == "android") and debug: [OK, TIMEOUT]
[Sanitizer.sanitizeFor("script", ...) should fail.]
expected: FAIL
[Sanitizer.sanitizeFor("iframe", ...) should fail.]
expected: FAIL
[Sanitizer.sanitizeFor("object", ...) should fail.]
expected: FAIL
[Sanitizer.sanitizeFor("div", ...) should pass.]
expected: FAIL
[Sanitizer.sanitizeFor function shouldn't load the image.]
expected: FAIL
[Sanitizer.sanitizeFor(element, ..)]
expected: FAIL
[Sanitizer.sanitizeFor("div", "<em>Hello</em>") obeys parse context.]
expected: FAIL
[Sanitizer.sanitizeFor("div", "<td>data</td>") obeys parse context.]
expected: FAIL
[Sanitizer.sanitizeFor("template", "<em>Hello</em>") obeys parse context.]
expected: FAIL
[Sanitizer.sanitizeFor("template", "<td>data</td>") obeys parse context.]
expected: FAIL
[Sanitizer.sanitizeFor("table", "<em>Hello</em>") obeys parse context.]
expected: FAIL
[Sanitizer.sanitizeFor("table", "<td>data</td>") obeys parse context.]
expected: FAIL
[Sanitizer.sanitizeFor with config: string]
expected: FAIL
[Sanitizer.sanitizeFor with config: html fragment]
expected: FAIL
[Sanitizer.sanitizeFor with config: broken html]
expected: FAIL
[Sanitizer.sanitizeFor with config: empty object]
expected: FAIL
[Sanitizer.sanitizeFor with config: number]
expected: FAIL
[Sanitizer.sanitizeFor with config: zeros]
expected: FAIL
[Sanitizer.sanitizeFor with config: arithmetic]
expected: FAIL
[Sanitizer.sanitizeFor with config: empty string]
expected: FAIL
[Sanitizer.sanitizeFor with config: undefined]
expected: FAIL
[Sanitizer.sanitizeFor with config: document]
expected: FAIL
[Sanitizer.sanitizeFor with config: html without close tag]
expected: FAIL
[Sanitizer.sanitizeFor with config: scripts for default configs]
expected: FAIL
[Sanitizer.sanitizeFor with config: script not as root]
expected: FAIL
[Sanitizer.sanitizeFor with config: script deeper in the tree]
expected: FAIL
[Sanitizer.sanitizeFor with config: onclick scripts]
expected: FAIL
[Sanitizer.sanitizeFor with config: plaintext]
expected: FAIL
[Sanitizer.sanitizeFor with config: xmp]
expected: FAIL
[Sanitizer.sanitizeFor with config: invalid config_input]
expected: FAIL
[Sanitizer.sanitizeFor with config: empty removeElements list]
expected: FAIL
[Sanitizer.sanitizeFor with config: test html without close tag with removeElements list ['div'\]]
expected: FAIL
[Sanitizer.sanitizeFor with config: default behavior for custom elements]
expected: FAIL
[Sanitizer.sanitizeFor with config: allow custom elements]
expected: FAIL
[Sanitizer.sanitizeFor with config: allow custom elements with allow elements]
expected: FAIL
[Sanitizer.sanitizeFor with config: disallow custom elements]
expected: FAIL
[Sanitizer.sanitizeFor with config: allow custom elements with drop list contains ["custom-element"\]]
expected: FAIL
[Sanitizer.sanitizeFor with config: test script with ["script"\] as removeElements list]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeElements list ["test-element", "i"\]}]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeElements list ["dl", "p"\]}]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list ["p"\]]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list has no influence to removeElements]
expected: FAIL
[Sanitizer.sanitizeFor with config: empty removeAttributes list with id attribute]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeAttributes list ["id"\] with id attribute]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeAttributes list ["data-attribute-with-dashes"\] with dom dataset js access]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list with <p> attributes: ["title"\] and div attributes: ["id"\] lists]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list with <p> removeAttributes: ["title"\] and div removeAttributes: ["id"\] lists]
expected: FAIL
[Sanitizer.sanitizeFor with config: attributes list ["id"\] with id attribute and onclick scripts]
expected: FAIL
[Sanitizer.sanitizeFor with config: attributes list has no influence to removeAttributes list]
expected: FAIL
[Sanitizer.sanitizeFor with config: Template element]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLAnchorElement with javascript protocal]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLAnchorElement with javascript protocal start with space]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLAnchorElement]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLAreaElement with javascript protocal]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLAreaElement with javascript protocal start with space]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLAreaElement]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLFormElement with javascript action]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLFormElement with javascript action start with space]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLFormElement]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLInputElement with javascript formaction]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLInputElement with javascript formaction start with space]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLInputElement]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLButtonElement with javascript formaction]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLButtonElement with javascript formaction start with space]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTMLButtonElement]
expected: FAIL
[Sanitizer.sanitizeFor with config: malformed HTML]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTML with comments; comments not allowed]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTML with comments; comments]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTML with comments; !comments]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTML with comments deeper in the tree]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTML with comments deeper in the tree, comments]
expected: FAIL
[Sanitizer.sanitizeFor with config: HTML with comments deeper in the tree, !comments]
expected: FAIL
[Sanitizer.sanitizeFor with config: Unknown HTML names (HTMLUnknownElement instances) should not match elements parsed as non-HTML namespaces.]
expected: FAIL
[Sanitizer.sanitizeFor with config: Unknown HTML names (HTMLUnknownElement instances) should not match elements parsed as non-HTML namespaces when nested.]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeElements list ["I", "DL"\]}]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeElements list ["i", "dl"\]}]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeElements list ["i", "dl"\]} with uppercase HTML]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeAttributes list ["ID"\] with id attribute]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeAttributes list ["ID"\] with ID attribute]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeAttributes list ["id"\] with ID attribute]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeElements with unknown elements and without unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: replaceWithChildrenElements with unknown elements and without unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements with unknown elements and without unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeElements with unknown elements and with unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: replaceWithChildrenElements with unknown elements and with unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements with unknown elements and with unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: attributes: unknown attributes and without unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: attributes: unknown attributes and with unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeAttributes: unknown attributes and without unknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: removeAttributes unknown attributes and with allowUnknownMarkup]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list with <div> attributes: ["id"\] and removeAttributes: ["id"\] lists]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list with <div> attributes: ["id", "title"\] does not override empty attributes: [\] list]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list with <div> attributes: ["id", "title"\] does not override removeAttributes: ["id", "title"\] list]
expected: FAIL
[Sanitizer.sanitizeFor with config: elements list with <div> removeAttributes: ["id", "title"\] is effective even with attributes: ["id", "title"\] list]
expected: FAIL