| This is a testharness.js-based test. |
| Found 128 tests; 127 PASS, 1 FAIL, 0 TIMEOUT, 0 NOTRUN. |
| PASS SanitizerAPI sanitize function without argument should throw an error. |
| PASS SanitizerAPI sanitizeToString function for null. |
| PASS SanitizerAPI config: string, sanitizeToString from string function for string |
| PASS SanitizerAPI config: html fragment, sanitizeToString from string function for html fragment |
| PASS SanitizerAPI config: broken html, sanitizeToString from string function for broken html |
| PASS SanitizerAPI config: empty object, sanitizeToString from string function for empty object |
| PASS SanitizerAPI config: number, sanitizeToString from string function for number |
| PASS SanitizerAPI config: zeros, sanitizeToString from string function for zeros |
| PASS SanitizerAPI config: arithmetic, sanitizeToString from string function for arithmetic |
| PASS SanitizerAPI config: empty string, sanitizeToString from string function for empty string |
| PASS SanitizerAPI config: undefined, sanitizeToString from string function for undefined |
| PASS SanitizerAPI config: document, sanitizeToString from string function for document |
| PASS SanitizerAPI config: html without close tag, sanitizeToString from string function for html without close tag |
| PASS SanitizerAPI config: scripts for default configs, sanitizeToString from string function for scripts for default configs |
| PASS SanitizerAPI config: onclick scripts, sanitizeToString from string function for onclick scripts |
| PASS SanitizerAPI config: plaintext, sanitizeToString from string function for plaintext |
| PASS SanitizerAPI config: xmp, sanitizeToString from string function for xmp |
| PASS SanitizerAPI config: malformed HTML, sanitizeToString from string function for malformed HTML |
| PASS SanitizerAPI config: invalid config_input, sanitizeToString from string function for invalid config_input |
| PASS SanitizerAPI config: empty dropElements list, sanitizeToString from string function for empty dropElements list |
| PASS SanitizerAPI config: test html without close tag with dropElements list ['div'], sanitizeToString from string function for test html without close tag with dropElements list ['div'] |
| PASS SanitizerAPI config: default behavior for custom elements, sanitizeToString from string function for default behavior for custom elements |
| PASS SanitizerAPI config: allow custom elements, sanitizeToString from string function for allow custom elements |
| PASS SanitizerAPI config: disallow custom elements, sanitizeToString from string function for disallow custom elements |
| PASS SanitizerAPI config: allow custom elements with drop list contains ["custom-element"], sanitizeToString from string function for allow custom elements with drop list contains ["custom-element"] |
| PASS SanitizerAPI config: test script with ["script"] as dropElements list, sanitizeToString from string function for test script with ["script"] as dropElements list |
| PASS SanitizerAPI config: dropElements list ["test-element", "i"]}, sanitizeToString from string function for dropElements list ["test-element", "i"]} |
| PASS SanitizerAPI config: dropElements list ["I", "DL"]}, sanitizeToString from string function for dropElements list ["I", "DL"]} |
| PASS SanitizerAPI config: dropElements list ["dl", "p"]}, sanitizeToString from string function for dropElements list ["dl", "p"]} |
| PASS SanitizerAPI config: dropElements list with invalid values, sanitizeToString from string function for dropElements list with invalid values |
| PASS SanitizerAPI config: blockElements list with invalid values, sanitizeToString from string function for blockElements list with invalid values |
| PASS SanitizerAPI config: allowElements list ["p"], sanitizeToString from string function for allowElements list ["p"] |
| PASS SanitizerAPI config: allowElements list ["p", "test"], sanitizeToString from string function for allowElements list ["p", "test"] |
| PASS SanitizerAPI config: allowElements list has no influence to dropElements, sanitizeToString from string function for allowElements list has no influence to dropElements |
| PASS SanitizerAPI config: dropAttributes list {"style": ["p"]} with style attribute, sanitizeToString from string function for dropAttributes list {"style": ["p"]} with style attribute |
| PASS SanitizerAPI config: dropAttributes list {"*": ["a"]} with style attribute, sanitizeToString from string function for dropAttributes list {"*": ["a"]} with style attribute |
| PASS SanitizerAPI config: empty dropAttributes list with id attribute, sanitizeToString from string function for empty dropAttributes list with id attribute |
| PASS SanitizerAPI config: dropAttributes list {"id": ["*"]} with id attribute, sanitizeToString from string function for dropAttributes list {"id": ["*"]} with id attribute |
| PASS SanitizerAPI config: dropAttributes list {"ID": ["*"]} with id attribute, sanitizeToString from string function for dropAttributes list {"ID": ["*"]} with id attribute |
| PASS SanitizerAPI config: dropAttributes list {"data-attribute-with-dashes": ["*"]} with dom dataset js access, sanitizeToString from string function for dropAttributes list {"data-attribute-with-dashes": ["*"]} with dom dataset js access |
| PASS SanitizerAPI config: allowAttributes list {"id": ["div"]} with id attribute, sanitizeToString from string function for allowAttributes list {"id": ["div"]} with id attribute |
| PASS SanitizerAPI config: allowAttributes list {"id": ["*"]} with id attribute and onclick scripts, sanitizeToString from string function for allowAttributes list {"id": ["*"]} with id attribute and onclick scripts |
| PASS SanitizerAPI config: allowAttributes list {"*": ["a"]} with style attribute, sanitizeToString from string function for allowAttributes list {"*": ["a"]} with style attribute |
| PASS SanitizerAPI config: allowAttributes list has no influence to dropAttributes, sanitizeToString from string function for allowAttributes list has no influence to dropAttributes |
| PASS SanitizerAPI with config: string, sanitizeToString from document function for string |
| PASS SanitizerAPI with config: html fragment, sanitizeToString from document function for html fragment |
| PASS SanitizerAPI with config: broken html, sanitizeToString from document function for broken html |
| PASS SanitizerAPI with config: empty object, sanitizeToString from document function for empty object |
| PASS SanitizerAPI with config: number, sanitizeToString from document function for number |
| PASS SanitizerAPI with config: zeros, sanitizeToString from document function for zeros |
| PASS SanitizerAPI with config: arithmetic, sanitizeToString from document function for arithmetic |
| PASS SanitizerAPI with config: empty string, sanitizeToString from document function for empty string |
| PASS SanitizerAPI with config: undefined, sanitizeToString from document function for undefined |
| PASS SanitizerAPI with config: document, sanitizeToString from document function for document |
| PASS SanitizerAPI with config: html without close tag, sanitizeToString from document function for html without close tag |
| PASS SanitizerAPI with config: scripts for default configs, sanitizeToString from document function for scripts for default configs |
| PASS SanitizerAPI with config: onclick scripts, sanitizeToString from document function for onclick scripts |
| PASS SanitizerAPI with config: plaintext, sanitizeToString from document function for plaintext |
| PASS SanitizerAPI with config: xmp, sanitizeToString from document function for xmp |
| FAIL SanitizerAPI with config: malformed HTML, sanitizeToString from document function for malformed HTML assert_equals: expected "<p>Some text</p><!-- 1 --><!-- 2 --><p>Some more text</p>" but got "<p>Some text</p><p>Some more text</p>" |
| PASS SanitizerAPI with config: invalid config_input, sanitizeToString from document function for invalid config_input |
| PASS SanitizerAPI with config: empty dropElements list, sanitizeToString from document function for empty dropElements list |
| PASS SanitizerAPI with config: test html without close tag with dropElements list ['div'], sanitizeToString from document function for test html without close tag with dropElements list ['div'] |
| PASS SanitizerAPI with config: default behavior for custom elements, sanitizeToString from document function for default behavior for custom elements |
| PASS SanitizerAPI with config: allow custom elements, sanitizeToString from document function for allow custom elements |
| PASS SanitizerAPI with config: disallow custom elements, sanitizeToString from document function for disallow custom elements |
| PASS SanitizerAPI with config: allow custom elements with drop list contains ["custom-element"], sanitizeToString from document function for allow custom elements with drop list contains ["custom-element"] |
| PASS SanitizerAPI with config: test script with ["script"] as dropElements list, sanitizeToString from document function for test script with ["script"] as dropElements list |
| PASS SanitizerAPI with config: dropElements list ["test-element", "i"]}, sanitizeToString from document function for dropElements list ["test-element", "i"]} |
| PASS SanitizerAPI with config: dropElements list ["I", "DL"]}, sanitizeToString from document function for dropElements list ["I", "DL"]} |
| PASS SanitizerAPI with config: dropElements list ["dl", "p"]}, sanitizeToString from document function for dropElements list ["dl", "p"]} |
| PASS SanitizerAPI with config: dropElements list with invalid values, sanitizeToString from document function for dropElements list with invalid values |
| PASS SanitizerAPI with config: blockElements list with invalid values, sanitizeToString from document function for blockElements list with invalid values |
| PASS SanitizerAPI with config: allowElements list ["p"], sanitizeToString from document function for allowElements list ["p"] |
| PASS SanitizerAPI with config: allowElements list ["p", "test"], sanitizeToString from document function for allowElements list ["p", "test"] |
| PASS SanitizerAPI with config: allowElements list has no influence to dropElements, sanitizeToString from document function for allowElements list has no influence to dropElements |
| PASS SanitizerAPI with config: dropAttributes list {"style": ["p"]} with style attribute, sanitizeToString from document function for dropAttributes list {"style": ["p"]} with style attribute |
| PASS SanitizerAPI with config: dropAttributes list {"*": ["a"]} with style attribute, sanitizeToString from document function for dropAttributes list {"*": ["a"]} with style attribute |
| PASS SanitizerAPI with config: empty dropAttributes list with id attribute, sanitizeToString from document function for empty dropAttributes list with id attribute |
| PASS SanitizerAPI with config: dropAttributes list {"id": ["*"]} with id attribute, sanitizeToString from document function for dropAttributes list {"id": ["*"]} with id attribute |
| PASS SanitizerAPI with config: dropAttributes list {"ID": ["*"]} with id attribute, sanitizeToString from document function for dropAttributes list {"ID": ["*"]} with id attribute |
| PASS SanitizerAPI with config: dropAttributes list {"data-attribute-with-dashes": ["*"]} with dom dataset js access, sanitizeToString from document function for dropAttributes list {"data-attribute-with-dashes": ["*"]} with dom dataset js access |
| PASS SanitizerAPI with config: allowAttributes list {"id": ["div"]} with id attribute, sanitizeToString from document function for allowAttributes list {"id": ["div"]} with id attribute |
| PASS SanitizerAPI with config: allowAttributes list {"id": ["*"]} with id attribute and onclick scripts, sanitizeToString from document function for allowAttributes list {"id": ["*"]} with id attribute and onclick scripts |
| PASS SanitizerAPI with config: allowAttributes list {"*": ["a"]} with style attribute, sanitizeToString from document function for allowAttributes list {"*": ["a"]} with style attribute |
| PASS SanitizerAPI with config: allowAttributes list has no influence to dropAttributes, sanitizeToString from document function for allowAttributes list has no influence to dropAttributes |
| PASS SanitizerAPI with config: string, sanitizeToString from document fragment function for string |
| PASS SanitizerAPI with config: html fragment, sanitizeToString from document fragment function for html fragment |
| PASS SanitizerAPI with config: broken html, sanitizeToString from document fragment function for broken html |
| PASS SanitizerAPI with config: empty object, sanitizeToString from document fragment function for empty object |
| PASS SanitizerAPI with config: number, sanitizeToString from document fragment function for number |
| PASS SanitizerAPI with config: zeros, sanitizeToString from document fragment function for zeros |
| PASS SanitizerAPI with config: arithmetic, sanitizeToString from document fragment function for arithmetic |
| PASS SanitizerAPI with config: empty string, sanitizeToString from document fragment function for empty string |
| PASS SanitizerAPI with config: undefined, sanitizeToString from document fragment function for undefined |
| PASS SanitizerAPI with config: document, sanitizeToString from document fragment function for document |
| PASS SanitizerAPI with config: html without close tag, sanitizeToString from document fragment function for html without close tag |
| PASS SanitizerAPI with config: scripts for default configs, sanitizeToString from document fragment function for scripts for default configs |
| PASS SanitizerAPI with config: onclick scripts, sanitizeToString from document fragment function for onclick scripts |
| PASS SanitizerAPI with config: plaintext, sanitizeToString from document fragment function for plaintext |
| PASS SanitizerAPI with config: xmp, sanitizeToString from document fragment function for xmp |
| PASS SanitizerAPI with config: malformed HTML, sanitizeToString from document fragment function for malformed HTML |
| PASS SanitizerAPI with config: invalid config_input, sanitizeToString from document fragment function for invalid config_input |
| PASS SanitizerAPI with config: empty dropElements list, sanitizeToString from document fragment function for empty dropElements list |
| PASS SanitizerAPI with config: test html without close tag with dropElements list ['div'], sanitizeToString from document fragment function for test html without close tag with dropElements list ['div'] |
| PASS SanitizerAPI with config: default behavior for custom elements, sanitizeToString from document fragment function for default behavior for custom elements |
| PASS SanitizerAPI with config: allow custom elements, sanitizeToString from document fragment function for allow custom elements |
| PASS SanitizerAPI with config: disallow custom elements, sanitizeToString from document fragment function for disallow custom elements |
| PASS SanitizerAPI with config: allow custom elements with drop list contains ["custom-element"], sanitizeToString from document fragment function for allow custom elements with drop list contains ["custom-element"] |
| PASS SanitizerAPI with config: test script with ["script"] as dropElements list, sanitizeToString from document fragment function for test script with ["script"] as dropElements list |
| PASS SanitizerAPI with config: dropElements list ["test-element", "i"]}, sanitizeToString from document fragment function for dropElements list ["test-element", "i"]} |
| PASS SanitizerAPI with config: dropElements list ["I", "DL"]}, sanitizeToString from document fragment function for dropElements list ["I", "DL"]} |
| PASS SanitizerAPI with config: dropElements list ["dl", "p"]}, sanitizeToString from document fragment function for dropElements list ["dl", "p"]} |
| PASS SanitizerAPI with config: dropElements list with invalid values, sanitizeToString from document fragment function for dropElements list with invalid values |
| PASS SanitizerAPI with config: blockElements list with invalid values, sanitizeToString from document fragment function for blockElements list with invalid values |
| PASS SanitizerAPI with config: allowElements list ["p"], sanitizeToString from document fragment function for allowElements list ["p"] |
| PASS SanitizerAPI with config: allowElements list ["p", "test"], sanitizeToString from document fragment function for allowElements list ["p", "test"] |
| PASS SanitizerAPI with config: allowElements list has no influence to dropElements, sanitizeToString from document fragment function for allowElements list has no influence to dropElements |
| PASS SanitizerAPI with config: dropAttributes list {"style": ["p"]} with style attribute, sanitizeToString from document fragment function for dropAttributes list {"style": ["p"]} with style attribute |
| PASS SanitizerAPI with config: dropAttributes list {"*": ["a"]} with style attribute, sanitizeToString from document fragment function for dropAttributes list {"*": ["a"]} with style attribute |
| PASS SanitizerAPI with config: empty dropAttributes list with id attribute, sanitizeToString from document fragment function for empty dropAttributes list with id attribute |
| PASS SanitizerAPI with config: dropAttributes list {"id": ["*"]} with id attribute, sanitizeToString from document fragment function for dropAttributes list {"id": ["*"]} with id attribute |
| PASS SanitizerAPI with config: dropAttributes list {"ID": ["*"]} with id attribute, sanitizeToString from document fragment function for dropAttributes list {"ID": ["*"]} with id attribute |
| PASS SanitizerAPI with config: dropAttributes list {"data-attribute-with-dashes": ["*"]} with dom dataset js access, sanitizeToString from document fragment function for dropAttributes list {"data-attribute-with-dashes": ["*"]} with dom dataset js access |
| PASS SanitizerAPI with config: allowAttributes list {"id": ["div"]} with id attribute, sanitizeToString from document fragment function for allowAttributes list {"id": ["div"]} with id attribute |
| PASS SanitizerAPI with config: allowAttributes list {"id": ["*"]} with id attribute and onclick scripts, sanitizeToString from document fragment function for allowAttributes list {"id": ["*"]} with id attribute and onclick scripts |
| PASS SanitizerAPI with config: allowAttributes list {"*": ["a"]} with style attribute, sanitizeToString from document fragment function for allowAttributes list {"*": ["a"]} with style attribute |
| PASS SanitizerAPI with config: allowAttributes list has no influence to dropAttributes, sanitizeToString from document fragment function for allowAttributes list has no influence to dropAttributes |
| Harness: the test ran to completion. |
| |