17domparsing/
3,611 / 3,633 WPT subtests passing
- Failed
- 22
- Timed out
- 0
- Not run
- 0
- Test files
- 91
- Blocking files
- 0
Chrome 3,443 / 3,633 WPT subtests passing on the same files, 1 blocking, 3 without a result
Tests
91 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
Comment-serialization-double-hyphen.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Serializing a comment containing '--' via innerHTML
- Serializing a comment containing '-->' via innerHTML
- Serializing a comment containing only '--' via innerHTML
DOMParser-parseFromString-encoding.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- HTML: empty
- XML: empty
- HTML: meta charset
- XML: XML declaration
DOMParser-parseFromString-html.html 10 / 10 passingChrome 10 / 100 failedClean
10 passing subtests
- Parsing of id attribute
- contentType
- compatMode
- compatMode for a proper DOCTYPE
- Location value
- DOMParser parses HTML tag soup with no problems
- DOMParser should handle the content of <noembed> as raw text
- DOMParser throws on an invalid enum value
- script is found synchronously even when there is a css import
- must be parsed with scripting disabled, so noscript works
DOMParser-parseFromString-stylesheets.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- DOMParser-created document should have accessible styleSheets collection with one style element
- DOMParser-created document styleSheets should contain CSSStyleSheet objects
- DOMParser-created document styleSheets should have accessible cssRules
- DOMParser-created document should expose multiple style elements in styleSheets
- DOMParser-created document with full HTML structure should have accessible styleSheets
- DOMParser-created document without style elements should have empty styleSheets collection
DOMParser-parseFromString-url-base-about.window.js 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- DOMParser in an about:blank document
- DOMParser in an about:srcdoc document
DOMParser-parseFromString-url-base-pushstate.html 45 / 45 passingChrome 45 / 450 failedClean
45 passing subtests
- text/html valid: created normally
- text/html valid: created using another iframe's DOMParser from this frame
- text/html valid: created using another iframe's DOMParser from that frame
- text/html valid: created using a parser from this frame and the method from the iframe
- text/html valid: created using a parser from the iframe and the method from this frame
- text/xml valid: created normally
- text/xml valid: created using another iframe's DOMParser from this frame
- text/xml valid: created using another iframe's DOMParser from that frame
- text/xml valid: created using a parser from this frame and the method from the iframe
- text/xml valid: created using a parser from the iframe and the method from this frame
- text/xml invalid XML: created normally
- text/xml invalid XML: created using another iframe's DOMParser from this frame
- text/xml invalid XML: created using another iframe's DOMParser from that frame
- text/xml invalid XML: created using a parser from this frame and the method from the iframe
- text/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xml valid: created normally
- application/xml valid: created using another iframe's DOMParser from this frame
- application/xml valid: created using another iframe's DOMParser from that frame
- application/xml valid: created using a parser from this frame and the method from the iframe
- application/xml valid: created using a parser from the iframe and the method from this frame
- application/xml invalid XML: created normally
- application/xml invalid XML: created using another iframe's DOMParser from this frame
- application/xml invalid XML: created using another iframe's DOMParser from that frame
- application/xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xhtml+xml valid: created normally
- application/xhtml+xml valid: created using another iframe's DOMParser from this frame
- application/xhtml+xml valid: created using another iframe's DOMParser from that frame
- application/xhtml+xml valid: created using a parser from this frame and the method from the iframe
- application/xhtml+xml valid: created using a parser from the iframe and the method from this frame
- application/xhtml+xml invalid XML: created normally
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from this frame
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from that frame
- application/xhtml+xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xhtml+xml invalid XML: created using a parser from the iframe and the method from this frame
- image/svg+xml valid: created normally
- image/svg+xml valid: created using another iframe's DOMParser from this frame
- image/svg+xml valid: created using another iframe's DOMParser from that frame
- image/svg+xml valid: created using a parser from this frame and the method from the iframe
- image/svg+xml valid: created using a parser from the iframe and the method from this frame
- image/svg+xml invalid XML: created normally
- image/svg+xml invalid XML: created using another iframe's DOMParser from this frame
- image/svg+xml invalid XML: created using another iframe's DOMParser from that frame
- image/svg+xml invalid XML: created using a parser from this frame and the method from the iframe
- image/svg+xml invalid XML: created using a parser from the iframe and the method from this frame
DOMParser-parseFromString-url-base.html 45 / 45 passingChrome 45 / 450 failedClean
45 passing subtests
- text/html valid: created normally
- text/html valid: created using another iframe's DOMParser from this frame
- text/html valid: created using another iframe's DOMParser from that frame
- text/html valid: created using a parser from this frame and the method from the iframe
- text/html valid: created using a parser from the iframe and the method from this frame
- text/xml valid: created normally
- text/xml valid: created using another iframe's DOMParser from this frame
- text/xml valid: created using another iframe's DOMParser from that frame
- text/xml valid: created using a parser from this frame and the method from the iframe
- text/xml valid: created using a parser from the iframe and the method from this frame
- text/xml invalid XML: created normally
- text/xml invalid XML: created using another iframe's DOMParser from this frame
- text/xml invalid XML: created using another iframe's DOMParser from that frame
- text/xml invalid XML: created using a parser from this frame and the method from the iframe
- text/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xml valid: created normally
- application/xml valid: created using another iframe's DOMParser from this frame
- application/xml valid: created using another iframe's DOMParser from that frame
- application/xml valid: created using a parser from this frame and the method from the iframe
- application/xml valid: created using a parser from the iframe and the method from this frame
- application/xml invalid XML: created normally
- application/xml invalid XML: created using another iframe's DOMParser from this frame
- application/xml invalid XML: created using another iframe's DOMParser from that frame
- application/xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xhtml+xml valid: created normally
- application/xhtml+xml valid: created using another iframe's DOMParser from this frame
- application/xhtml+xml valid: created using another iframe's DOMParser from that frame
- application/xhtml+xml valid: created using a parser from this frame and the method from the iframe
- application/xhtml+xml valid: created using a parser from the iframe and the method from this frame
- application/xhtml+xml invalid XML: created normally
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from this frame
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from that frame
- application/xhtml+xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xhtml+xml invalid XML: created using a parser from the iframe and the method from this frame
- image/svg+xml valid: created normally
- image/svg+xml valid: created using another iframe's DOMParser from this frame
- image/svg+xml valid: created using another iframe's DOMParser from that frame
- image/svg+xml valid: created using a parser from this frame and the method from the iframe
- image/svg+xml valid: created using a parser from the iframe and the method from this frame
- image/svg+xml invalid XML: created normally
- image/svg+xml invalid XML: created using another iframe's DOMParser from this frame
- image/svg+xml invalid XML: created using another iframe's DOMParser from that frame
- image/svg+xml invalid XML: created using a parser from this frame and the method from the iframe
- image/svg+xml invalid XML: created using a parser from the iframe and the method from this frame
DOMParser-parseFromString-url-moretests.html 31 / 31 passingChrome 31 / 310 failedClean
31 passing subtests
- DOMParser: Document's url
- Parent window (text/html)
- Child window (text/html)
- Parent window with child method (text/html)
- Child window with parent method (text/html)
- Parent window (text/xml)
- Child window (text/xml)
- Parent window with child method (text/xml)
- Child window with parent method (text/xml)
- Parent window (application/xml)
- Child window (application/xml)
- Parent window with child method (application/xml)
- Child window with parent method (application/xml)
- Parent window (application/xhtml+xml)
- Child window (application/xhtml+xml)
- Parent window with child method (application/xhtml+xml)
- Child window with parent method (application/xhtml+xml)
- Parent window (image/svg+xml)
- Child window (image/svg+xml)
- Parent window with child method (image/svg+xml)
- Child window with parent method (image/svg+xml)
- Child window crossing navigation (text/html)
- Child window after navigation (text/html)
- Child window crossing navigation (text/xml)
- Child window after navigation (text/xml)
- Child window crossing navigation (application/xml)
- Child window after navigation (application/xml)
- Child window crossing navigation (application/xhtml+xml)
- Child window after navigation (application/xhtml+xml)
- Child window crossing navigation (image/svg+xml)
- Child window after navigation (image/svg+xml)
DOMParser-parseFromString-url-pushstate.html 45 / 45 passingChrome 45 / 450 failedClean
45 passing subtests
- text/html valid: created normally
- text/html valid: created using another iframe's DOMParser from this frame
- text/html valid: created using another iframe's DOMParser from that frame
- text/html valid: created using a parser from this frame and the method from the iframe
- text/html valid: created using a parser from the iframe and the method from this frame
- text/xml valid: created normally
- text/xml valid: created using another iframe's DOMParser from this frame
- text/xml valid: created using another iframe's DOMParser from that frame
- text/xml valid: created using a parser from this frame and the method from the iframe
- text/xml valid: created using a parser from the iframe and the method from this frame
- text/xml invalid XML: created normally
- text/xml invalid XML: created using another iframe's DOMParser from this frame
- text/xml invalid XML: created using another iframe's DOMParser from that frame
- text/xml invalid XML: created using a parser from this frame and the method from the iframe
- text/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xml valid: created normally
- application/xml valid: created using another iframe's DOMParser from this frame
- application/xml valid: created using another iframe's DOMParser from that frame
- application/xml valid: created using a parser from this frame and the method from the iframe
- application/xml valid: created using a parser from the iframe and the method from this frame
- application/xml invalid XML: created normally
- application/xml invalid XML: created using another iframe's DOMParser from this frame
- application/xml invalid XML: created using another iframe's DOMParser from that frame
- application/xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xhtml+xml valid: created normally
- application/xhtml+xml valid: created using another iframe's DOMParser from this frame
- application/xhtml+xml valid: created using another iframe's DOMParser from that frame
- application/xhtml+xml valid: created using a parser from this frame and the method from the iframe
- application/xhtml+xml valid: created using a parser from the iframe and the method from this frame
- application/xhtml+xml invalid XML: created normally
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from this frame
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from that frame
- application/xhtml+xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xhtml+xml invalid XML: created using a parser from the iframe and the method from this frame
- image/svg+xml valid: created normally
- image/svg+xml valid: created using another iframe's DOMParser from this frame
- image/svg+xml valid: created using another iframe's DOMParser from that frame
- image/svg+xml valid: created using a parser from this frame and the method from the iframe
- image/svg+xml valid: created using a parser from the iframe and the method from this frame
- image/svg+xml invalid XML: created normally
- image/svg+xml invalid XML: created using another iframe's DOMParser from this frame
- image/svg+xml invalid XML: created using another iframe's DOMParser from that frame
- image/svg+xml invalid XML: created using a parser from this frame and the method from the iframe
- image/svg+xml invalid XML: created using a parser from the iframe and the method from this frame
DOMParser-parseFromString-url.html 45 / 45 passingChrome 45 / 450 failedClean
45 passing subtests
- text/html valid: created normally
- text/html valid: created using another iframe's DOMParser from this frame
- text/html valid: created using another iframe's DOMParser from that frame
- text/html valid: created using a parser from this frame and the method from the iframe
- text/html valid: created using a parser from the iframe and the method from this frame
- text/xml valid: created normally
- text/xml valid: created using another iframe's DOMParser from this frame
- text/xml valid: created using another iframe's DOMParser from that frame
- text/xml valid: created using a parser from this frame and the method from the iframe
- text/xml valid: created using a parser from the iframe and the method from this frame
- text/xml invalid XML: created normally
- text/xml invalid XML: created using another iframe's DOMParser from this frame
- text/xml invalid XML: created using another iframe's DOMParser from that frame
- text/xml invalid XML: created using a parser from this frame and the method from the iframe
- text/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xml valid: created normally
- application/xml valid: created using another iframe's DOMParser from this frame
- application/xml valid: created using another iframe's DOMParser from that frame
- application/xml valid: created using a parser from this frame and the method from the iframe
- application/xml valid: created using a parser from the iframe and the method from this frame
- application/xml invalid XML: created normally
- application/xml invalid XML: created using another iframe's DOMParser from this frame
- application/xml invalid XML: created using another iframe's DOMParser from that frame
- application/xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xml invalid XML: created using a parser from the iframe and the method from this frame
- application/xhtml+xml valid: created normally
- application/xhtml+xml valid: created using another iframe's DOMParser from this frame
- application/xhtml+xml valid: created using another iframe's DOMParser from that frame
- application/xhtml+xml valid: created using a parser from this frame and the method from the iframe
- application/xhtml+xml valid: created using a parser from the iframe and the method from this frame
- application/xhtml+xml invalid XML: created normally
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from this frame
- application/xhtml+xml invalid XML: created using another iframe's DOMParser from that frame
- application/xhtml+xml invalid XML: created using a parser from this frame and the method from the iframe
- application/xhtml+xml invalid XML: created using a parser from the iframe and the method from this frame
- image/svg+xml valid: created normally
- image/svg+xml valid: created using another iframe's DOMParser from this frame
- image/svg+xml valid: created using another iframe's DOMParser from that frame
- image/svg+xml valid: created using a parser from this frame and the method from the iframe
- image/svg+xml valid: created using a parser from the iframe and the method from this frame
- image/svg+xml invalid XML: created normally
- image/svg+xml invalid XML: created using another iframe's DOMParser from this frame
- image/svg+xml invalid XML: created using another iframe's DOMParser from that frame
- image/svg+xml invalid XML: created using a parser from this frame and the method from the iframe
- image/svg+xml invalid XML: created using a parser from the iframe and the method from this frame
DOMParser-parseFromString-xml-CDATA.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Should parse reserved characters within a CDATA section in type text/xml
- Should parse HTML within a CDATA section in type text/xml
- Should parse reserved characters within a CDATA section in type application/xml
- Should parse HTML within a CDATA section in type application/xml
- Should parse reserved characters within a CDATA section in type application/xhtml+xml
- Should parse HTML within a CDATA section in type application/xhtml+xml
- Should parse reserved characters within a CDATA section in type image/svg+xml
- Should parse HTML within a CDATA section in type image/svg+xml
DOMParser-parseFromString-xml-doctype.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Doctype parsing of System Id must fail on ommitted value
- Doctype parsing of System Id can handle empty string
- Doctype parsing of System Id can handle a quoted value
DOMParser-parseFromString-xml-empty-nodes.html 8 / 8 passingChrome 8 / 80 failedClean
8 passing subtests
- Should generate an empty comment node in type text/xml
- Should generate an empty CDATA Section node in type text/xml
- Should generate an empty comment node in type application/xml
- Should generate an empty CDATA Section node in type application/xml
- Should generate an empty comment node in type application/xhtml+xml
- Should generate an empty CDATA Section node in type application/xhtml+xml
- Should generate an empty comment node in type image/svg+xml
- Should generate an empty CDATA Section node in type image/svg+xml
DOMParser-parseFromString-xml-internal-subset.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Parsing and serialization of doctype internal subset
DOMParser-parseFromString-xml-parsererror.html 23 / 23 passingChrome 23 / 230 failedClean
23 passing subtests
- DOMParser: <parsererror> element added on error, <span x:test="testing">1</span>
- DOMParser: <parsererror> element added on error, < span>2</span>
- DOMParser: <parsererror> element added on error, <span :test="testing">3</span>
- DOMParser: <parsererror> element added on error, <span><em>4</span></em>
- DOMParser: <parsererror> element added on error, <span>5
- DOMParser: <parsererror> element added on error, 6</span>
- DOMParser: <parsererror> element added on error, <span>7< /span>
- DOMParser: <parsererror> element added on error, <span>8</ span>
- DOMParser: <parsererror> element added on error, <span novalue>9</span>
- DOMParser: <parsererror> element added on error, <span ="noattr">10</span>
- DOMParser: <parsererror> element added on error, <span ::="test">11</span>
- DOMParser: <parsererror> element added on error, <span xmlns:="urn:x-test:test">12</span>
- DOMParser: <parsererror> element added on error, <span xmlns:xmlns="">13</span>
- DOMParser: <parsererror> element added on error, <span data-test=testing>14</span>
- DOMParser: <parsererror> element added on error, 15<span
- DOMParser: <parsererror> element added on error, <8:test xmlns:8="urn:x-test:test">16</8:test>
- DOMParser: <parsererror> element added on error, <span xmlns:p1 xmlns:p2="urn:x-test:test"/>17
- text/xml is preserved in the error document
- application/xml is preserved in the error document
- application/xhtml+xml is preserved in the error document
- image/svg+xml is preserved in the error document
- A lone surrogate is replaced with U+FFFD
- A valid surrogate pair is preserved
DOMParser-parseFromString-xml-scripting-support-disabled.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- parseFromString as HTML, appendChild
- parseFromString as HTML, append importNode result
- parseFromString as HTML, svg script, appendChild
- parseFromString as HTML, svg script, append importNode result
- parseFromString as XML, svg script, appendChild
- parseFromString as XML, svg script, append importNode result
- parseFromString as XML, svg script, append importNode result, but with namespace prefix
- parseFromString as XML, svg script, append adoptNode result
- parseFromString as XML, svg script, append cloneNode result
- parseFromString as XHTML, whole root, append importNode result
- parseFromString as XHTML, script, append importNode result
- parseFromString as XHTML, script, append adoptNode result
- parseFromString as XHTML, script, append cloneNode result
DOMParser-parseFromString-xml.html 8 / 20 passingChrome 8 / 2012 failedWith failures
- ¶
FAILXMLDocument interface for correctly parsed document with type text/xml
assert_false: Should not be XMLDocument expected false got true
- ¶
FAILShould return an error document for XML wellformedness errors in type text/xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
- ¶
FAILXMLDocument interface for incorrectly parsed document with type text/xml
assert_false: Should not be XMLDocument expected false got true
- ¶
FAILXMLDocument interface for correctly parsed document with type application/xml
assert_false: Should not be XMLDocument expected false got true
- ¶
FAILShould return an error document for XML wellformedness errors in type application/xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
- ¶
FAILXMLDocument interface for incorrectly parsed document with type application/xml
assert_false: Should not be XMLDocument expected false got true
- ¶
FAILXMLDocument interface for correctly parsed document with type application/xhtml+xml
assert_false: Should not be XMLDocument expected false got true
- ¶
FAILShould return an error document for XML wellformedness errors in type application/xhtml+xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
- ¶
FAILXMLDocument interface for incorrectly parsed document with type application/xhtml+xml
assert_false: Should not be XMLDocument expected false got true
- ¶
FAILXMLDocument interface for correctly parsed document with type image/svg+xml
assert_false: Should not be XMLDocument expected false got true
- ¶
FAILShould return an error document for XML wellformedness errors in type image/svg+xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
- ¶
FAILXMLDocument interface for incorrectly parsed document with type image/svg+xml
assert_false: Should not be XMLDocument expected false got true
8 passing subtests
- Should parse correctly in type text/xml
- scripting must be disabled with type text/xml
- Should parse correctly in type application/xml
- scripting must be disabled with type application/xml
- Should parse correctly in type application/xhtml+xml
- scripting must be disabled with type application/xhtml+xml
- Should parse correctly in type image/svg+xml
- scripting must be disabled with type image/svg+xml
DOMParser-xml-character-entities.html 4 / 8 passingChrome 4 / 84 failedWith failures
- ¶
FAILShould return an error document for undefined (HTML) character entities in type text/xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
- ¶
FAILShould return an error document for undefined (HTML) character entities in type application/xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
- ¶
FAILShould return an error document for undefined (HTML) character entities in type application/xhtml+xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
- ¶
FAILShould return an error document for undefined (HTML) character entities in type image/svg+xml
assert_equals: expected (string) "http://www.mozilla.org/newlayout/xml/parsererror.xml" but got (object) null
4 passing subtests
- Should parse XML character entities correctly in type text/xml
- Should parse XML character entities correctly in type application/xml
- Should parse XML character entities correctly in type application/xhtml+xml
- Should parse XML character entities correctly in type image/svg+xml
XMLSerializer-serializeToString.html 27 / 33 passingChrome 27 / 336 failedWith failures
- ¶
FAILCheck if redundant xmlns="..." is dropped.
assert_equals: expected "<root><child/></root>" but got "<root><child xmlns=\"\"/></root>"
- ¶
FAILDrop inconsistent xmlns="..." by matching on local name
assert_equals: expected "<package><manifest/></package>" but got "<package xmlns=\"http://www.idpf.org/2007/opf\"><manifest xmlns=\"http://www.idpf.org/2007/opf\"/></package>"
- ¶
FAILCheck if an attribute with namespace and no prefix is serialized with the nearest-declared prefix even if the prefix is assigned to another namespace.
assert_equals: expected "<el1 xmlns:p=\"u1\" xmlns:q=\"u1\"><el2 xmlns:q=\"u2\" q:name=\"v\"/></el1>" but got "<el1 xmlns:p=\"u1\" xmlns:q=\"u1\"><el2 xmlns:q=\"u2\" p:name=\"v\"/></el1>"
- ¶
FAILCheck if the prefix of an attribute is NOT preserved in a case where neither its prefix nor its namespace URI is not already used.
assert_equals: expected "<r xmlns:xx=\"uri\" xmlns:ns1=\"uri2\" ns1:name=\"value\"/>" but got "<r xmlns:xx=\"uri\" xmlns:p=\"uri2\" p:name=\"value\"/>"
- ¶
FAILCheck if start tag serialization does NOT apply the default namespace if its namespace is declared in an ancestor.
assert_equals: expected "<root xmlns:x=\"uri1\"><x:table xmlns=\"uri1\"/></root>" but got "<root xmlns:x=\"uri1\"><table xmlns=\"uri1\"/></root>"
- ¶
FAILCheck if "ns1" is generated even if the element already has xmlns:ns1.
assert_equals: expected "<root xmlns:ns2=\"uri2\"><child xmlns:ns1=\"uri1\" xmlns:ns1=\"uri3\" ns1:attr1=\"value1\"/></root>" but got "<root xmlns:ns2=\"uri2\"><child xmlns:ns1=\"uri1\" xmlns:ns3=\"uri3\" ns3:attr1=\"value1\"/></root>"
27 passing subtests
- check XMLSerializer.serializeToString method could parsing xmldoc to string
- check XMLSerializer.serializeToString method could parsing document to string
- Check if the default namespace is correctly reset.
- Check if there is no redundant empty namespace declaration.
- Check if inconsistent xmlns="..." is dropped.
- Check if an attribute with namespace and no prefix is serialized with the nearest-declared prefix
- Check if the prefix of an attribute is replaced with another existing prefix mapped to the same namespace URI.
- Check if the prefix of an attribute is replaced with a generated one in a case where the prefix is already mapped to a different namespace URI.
- Attribute value escapes: lt
- Attribute value escapes: gt
- Attribute value escapes: quot
- Attribute value escapes: apos
- [TENTATIVE] check XMLSerializer.serializeToString escapes attribute values for roundtripping
- Check if attribute serialization takes into account of following xmlns:* attributes
- Check if attribute serialization takes into account of the same prefix declared in an ancestor element
- Check if start tag serialization drops element prefix if the namespace is same as inherited default namespace.
- Check if start tag serialization finds an appropriate prefix.
- Check if end tag serialization matches start tag when an appropriate prefix is found.
- Check if start tag serialization takes into account of its xmlns:* attributes
- Check if start tag serialization applied the original prefix even if it is declared in an ancestor element.
- Check if end tag serialization matches start tag for elements in the XML namespace.
- Check if generated prefixes match to "ns${index}".
- Check if no special handling for XLink namespace unlike HTML serializer.
- Check if document fragment serializes.
- Check children were included for void elements
- Check if a prefix bound to an empty namespace URI ("no namespace") serialize
- Attribute nodes are serialized as the empty string
all-stream-methods-with-trusted-types-no-policy.html 38 / 38 passingChrome 38 / 380 failedClean
38 passing subtests
- streamHTML with trusted types and no default policy returns a WritableStream.
- streamHTMLUnsafe with trusted types and no default policy throws.
- streamAppendHTML with trusted types and no default policy returns a WritableStream.
- streamAppendHTMLUnsafe with trusted types and no default policy throws.
- streamPrependHTML with trusted types and no default policy returns a WritableStream.
- streamPrependHTMLUnsafe with trusted types and no default policy throws.
- streamBeforeHTML with trusted types and no default policy returns a WritableStream.
- streamBeforeHTMLUnsafe with trusted types and no default policy throws.
- streamAfterHTML with trusted types and no default policy returns a WritableStream.
- streamAfterHTMLUnsafe with trusted types and no default policy throws.
- streamReplaceWithHTML with trusted types and no default policy returns a WritableStream.
- streamReplaceWithHTMLUnsafe with trusted types and no default policy throws.
- ShadowRoot.streamHTML with trusted types and no default policy returns a WritableStream.
- ShadowRoot.streamHTMLUnsafe with trusted types and no default policy throws.
- ShadowRoot.streamAppendHTML with trusted types and no default policy returns a WritableStream.
- ShadowRoot.streamAppendHTMLUnsafe with trusted types and no default policy throws.
- ShadowRoot.streamPrependHTML with trusted types and no default policy returns a WritableStream.
- ShadowRoot.streamPrependHTMLUnsafe with trusted types and no default policy throws.
- CharacterData.streamBeforeHTML with trusted types and no default policy returns a WritableStream.
- CharacterData.streamBeforeHTMLUnsafe with trusted types and no default policy throws.
- CharacterData.streamAfterHTML with trusted types and no default policy returns a WritableStream.
- CharacterData.streamAfterHTMLUnsafe with trusted types and no default policy throws.
- CharacterData.streamReplaceWithHTML with trusted types and no default policy returns a WritableStream.
- CharacterData.streamReplaceWithHTMLUnsafe with trusted types and no default policy throws.
- streamBeforeHTMLUnsafe on a detached node with no default policy throws TypeError before HierarchyRequestError.
- streamBeforeHTMLUnsafe on a DocumentFragment child with no default policy throws TypeError before HierarchyRequestError.
- streamBeforeHTMLUnsafe on head (parent is the html element) with no default policy throws TypeError before HierarchyRequestError.
- streamAfterHTMLUnsafe on a detached node with no default policy throws TypeError before HierarchyRequestError.
- streamAfterHTMLUnsafe on a DocumentFragment child with no default policy throws TypeError before HierarchyRequestError.
- streamAfterHTMLUnsafe on head (parent is the html element) with no default policy throws TypeError before HierarchyRequestError.
- streamReplaceWithHTMLUnsafe on a detached node with no default policy throws TypeError before HierarchyRequestError.
- streamReplaceWithHTMLUnsafe on a DocumentFragment child with no default policy throws TypeError before HierarchyRequestError.
- streamReplaceWithHTMLUnsafe on head (parent is the html element) with no default policy throws TypeError before HierarchyRequestError.
- streamAppendHTMLUnsafe on the html element with no default policy throws TypeError before HierarchyRequestError.
- streamPrependHTMLUnsafe on the html element with no default policy throws TypeError before HierarchyRequestError.
- streamHTMLUnsafe on a <script> with no default policy throws TypeError before NotSupportedError.
- streamAppendHTMLUnsafe on a <script> with no default policy throws TypeError before NotSupportedError.
- streamPrependHTMLUnsafe on a <script> with no default policy throws TypeError before NotSupportedError.
createContextualFragment-external-scripts-async.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- External scripts from createContextualFragment() have async=true and execute as async once connected
createContextualFragment-in-detached-xml-document-crash.html none reportedChrome —0 failedClean
/domparsing/createContextualFragment-in-detached-xml-document-crash.html PASS none reported
No subtests were reported.
createContextualFragment.html 35 / 35 passingChrome 35 / 350 failedClean
35 passing subtests
- Must not throw INVALID_STATE_ERR for a detached node.
- Must throw TypeError when calling without arguments
- Simple test with paragraphs
- Don't auto-create <body> when applied to <html>
- <script>s should be run when appended to the document (but not before)
- createContextualFragment should work even when the context is <area>
- createContextualFragment should work even when the context is <base>
- createContextualFragment should work even when the context is <basefont>
- createContextualFragment should work even when the context is <bgsound>
- createContextualFragment should work even when the context is <br>
- createContextualFragment should work even when the context is <col>
- createContextualFragment should work even when the context is <embed>
- createContextualFragment should work even when the context is <frame>
- createContextualFragment should work even when the context is <hr>
- createContextualFragment should work even when the context is <img>
- createContextualFragment should work even when the context is <input>
- createContextualFragment should work even when the context is <keygen>
- createContextualFragment should work even when the context is <link>
- createContextualFragment should work even when the context is <meta>
- createContextualFragment should work even when the context is <param>
- createContextualFragment should work even when the context is <source>
- createContextualFragment should work even when the context is <track>
- createContextualFragment should work even when the context is <wbr>
- createContextualFragment should work even when the context is <menuitem>
- createContextualFragment should work even when the context is <image>
- <html> and <body> must work the same, 1
- <html> and <body> must work the same, 2
- Implicit <body> creation
- Namespace generally shouldn't matter
- <html> in a different namespace shouldn't be special
- SVG namespace shouldn't be special
- null should be stringified
- undefined should be stringified
- Text nodes shouldn't be special
- Non-Element parent should not be special
domparser-spurious-attributes.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Using ">" and HTML entities in an attribute creates no unexpected attributes.
- Using ">" and "\r" in an attribute creates no unexpected attributes.
html-insertion-methods-html-element.html 26 / 26 passingChrome 2 / 260 failedClean
26 passing subtests
- appendHTML on the html element throws HierarchyRequestError
- appendHTML on the html element of an inert document throws HierarchyRequestError
- appendHTML on a detached html element throws HierarchyRequestError
- prependHTML on the html element throws HierarchyRequestError
- prependHTML on the html element of an inert document throws HierarchyRequestError
- prependHTML on a detached html element throws HierarchyRequestError
- beforeHTML on head/body (parent is the html element) throws HierarchyRequestError
- beforeHTML on a child of a detached html element throws HierarchyRequestError
- afterHTML on head/body (parent is the html element) throws HierarchyRequestError
- afterHTML on a child of a detached html element throws HierarchyRequestError
- replaceWithHTML on head/body (parent is the html element) throws HierarchyRequestError
- replaceWithHTML on a child of a detached html element throws HierarchyRequestError
- setHTML on the html element replaces head and body
- appendHTMLUnsafe on the html element throws HierarchyRequestError
- appendHTMLUnsafe on the html element of an inert document throws HierarchyRequestError
- appendHTMLUnsafe on a detached html element throws HierarchyRequestError
- prependHTMLUnsafe on the html element throws HierarchyRequestError
- prependHTMLUnsafe on the html element of an inert document throws HierarchyRequestError
- prependHTMLUnsafe on a detached html element throws HierarchyRequestError
- beforeHTMLUnsafe on head/body (parent is the html element) throws HierarchyRequestError
- beforeHTMLUnsafe on a child of a detached html element throws HierarchyRequestError
- afterHTMLUnsafe on head/body (parent is the html element) throws HierarchyRequestError
- afterHTMLUnsafe on a child of a detached html element throws HierarchyRequestError
- replaceWithHTMLUnsafe on head/body (parent is the html element) throws HierarchyRequestError
- replaceWithHTMLUnsafe on a child of a detached html element throws HierarchyRequestError
- setHTMLUnsafe on the html element replaces head and body
html-unsafe-external-scripts-async.html 15 / 15 passingChrome 15 / 150 failedClean
15 passing subtests
- setHTMLUnsafe with { runScripts: true } on connected element: external scripts execute as async
- setHTMLUnsafe with { runScripts: true } on disconnected element: external scripts have async=true and execute as async once connected
- appendHTMLUnsafe with { runScripts: true } on connected element: external scripts execute as async
- appendHTMLUnsafe with { runScripts: true } on disconnected element: external scripts have async=true and execute as async once connected
- prependHTMLUnsafe with { runScripts: true } on connected element: external scripts execute as async
- prependHTMLUnsafe with { runScripts: true } on disconnected element: external scripts have async=true and execute as async once connected
- beforeHTMLUnsafe with { runScripts: true } on connected element: external scripts execute as async
- beforeHTMLUnsafe with { runScripts: true } on disconnected element: external scripts have async=true and execute as async once connected
- afterHTMLUnsafe with { runScripts: true } on connected element: external scripts execute as async
- afterHTMLUnsafe with { runScripts: true } on disconnected element: external scripts have async=true and execute as async once connected
- replaceWithHTMLUnsafe with { runScripts: true } on connected element: external scripts execute as async
- replaceWithHTMLUnsafe with { runScripts: true } on disconnected element: external scripts have async=true and execute as async once connected
- ShadowRoot.setHTMLUnsafe with { runScripts: true }: external scripts execute as async
- ShadowRoot.appendHTMLUnsafe with { runScripts: true }: external scripts execute as async
- ShadowRoot.prependHTMLUnsafe with { runScripts: true }: external scripts execute as async
innerhtml-04.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- innerHTML should leave the removed children alone.
innerhtml-06.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- innerHTML defined on math.
innerhtml-07.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- innerHTML and string conversion: null.
- innerHTML and string conversion: undefined.
- innerHTML and string conversion: number.
- innerHTML and string conversion: toString.
- innerHTML and string conversion: valueOf.
innerhtml-08.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- innerHTML on html element with trailing comment
- innerHTML on html element with trailing comment (no explicit head)
innerhtml-empty-document-element.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Setting innerHTML to empty string
innerhtml-li-autoclosing.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Adjacent empty li elements in ul produce siblings.
- Adjacent empty li elements in ol produce siblings.
- Adjacent li elements with text content produce siblings.
- Three adjacent li elements produce siblings.
- Legitimate li nesting through intervening ul is preserved.
- Adjacent li elements produce siblings when ul is nested in div.
- Adjacent li elements with attributes produce siblings.
innerhtml-mxss.sub.html 60 / 60 passingChrome 60 / 600 failedClean
60 passing subtests
- innerHTML before setter: 1680
- href before setter: 1680
- innerHTML after setter: 1680
- href after setter: 1680
- innerHTML before setter: 2000
- href before setter: 2000
- innerHTML after setter: 2000
- href after setter: 2000
- innerHTML before setter: 2001
- href before setter: 2001
- innerHTML after setter: 2001
- href after setter: 2001
- innerHTML before setter: 2002
- href before setter: 2002
- innerHTML after setter: 2002
- href after setter: 2002
- innerHTML before setter: 2003
- href before setter: 2003
- innerHTML after setter: 2003
- href after setter: 2003
- innerHTML before setter: 2004
- href before setter: 2004
- innerHTML after setter: 2004
- href after setter: 2004
- innerHTML before setter: 2005
- href before setter: 2005
- innerHTML after setter: 2005
- href after setter: 2005
- innerHTML before setter: 2006
- href before setter: 2006
- innerHTML after setter: 2006
- href after setter: 2006
- innerHTML before setter: 2007
- href before setter: 2007
- innerHTML after setter: 2007
- href after setter: 2007
- innerHTML before setter: 2008
- href before setter: 2008
- innerHTML after setter: 2008
- href after setter: 2008
- innerHTML before setter: 2009
- href before setter: 2009
- innerHTML after setter: 2009
- href after setter: 2009
- innerHTML before setter: 200a
- href before setter: 200a
- innerHTML after setter: 200a
- href after setter: 200a
- innerHTML before setter: 2028
- href before setter: 2028
- innerHTML after setter: 2028
- href after setter: 2028
- innerHTML before setter: 205f
- href before setter: 205f
- innerHTML after setter: 205f
- href after setter: 205f
- innerHTML before setter: 3000
- href before setter: 3000
- innerHTML after setter: 3000
- href after setter: 3000
insert-adjacent-parent-errors.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Throws when given an invalid position
- Throws when inserting using "beforebegin" into an element whose parent is null
- Throws when inserting using "afterend" into an element whose parent is null
- Does not throw when inserting using "afterbegin" and "beforeend" into an element whose parent is null
- Throws when inserting using "beforebegin" into an element whose parent is a document
- Throws when inserting using "afterend" into an element whose parent is a document
- Does not throw when inserting using "afterbegin" and "beforeend" into an element whose parent is a document
insert-adjacent.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- insertAdjacentHTML(beforebegin, <h3>beforebegin</h3> )
- insertAdjacentHTML(afterbegin, <h3>afterbegin</h3> )
- insertAdjacentHTML(beforeend, <h3>beforeend</h3> )
- insertAdjacentHTML(afterend, <h3>afterend</h3> )
insert_adjacent_html-001-crash.html none reportedChrome —0 failedClean
/domparsing/insert_adjacent_html-001-crash.html PASS none reported
No subtests were reported.
insert_adjacent_html.html 31 / 31 passingChrome 31 / 310 failedClean
31 passing subtests
- beforeBegin content without next sibling
- Afterbegin content without next sibling
- BeforeEnd content without next sibling
- afterend content without next sibling
- beforeBegin content again, with next sibling
- Afterbegin content again, with next sibling
- BeforeEnd content again, with next sibling
- afterend content again, with next sibling
- Should throw when inserting with invalid position string
- When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (text)
- When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (comments)
- When the parent node is null, insertAdjacentHTML should throw for beforebegin and afterend (elements)
- When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (text)
- When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (comments)
- When the parent node is a document, insertAdjacentHTML should throw for beforebegin and afterend (elements)
- Inserting after being and before end should order things correctly
- beforeBegin child node not in tree but has parent
- Afterbegin child node not in tree but has parent
- BeforeEnd child node not in tree but has parent
- afterend child node not in tree but has parent
- Should not run script when appending things which have descendant <script> inserted via insertAdjacentHTML
- beforeBegin content2 without next sibling
- Afterbegin content2 without next sibling
- BeforeEnd content2 without next sibling
- afterend content2 without next sibling
- beforeBegin content2 test again, now that there's a next sibling
- Afterbegin content2 test again, now that there's a next sibling
- BeforeEnd content2 test again, now that there's a next sibling
- afterend content2 test again, now that there's a next sibling
- Inserting kids of the <html> element should not do weird things with implied <body>/<head> tags
- A text node inserted via insertAdjacentHTML should not be merged with a sibling text node.
move-head-during-prepend-before-close-crash.html none reportedChrome —0 failedClean
/domparsing/move-head-during-prepend-before-close-crash.html PASS none reported
No subtests were reported.
outerhtml-01.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- outerHTML: child of #document
outerhtml-02.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- outerHTML and string conversion: null.
- outerHTML and string conversion: undefined.
- outerHTML and string conversion: number.
- outerHTML and string conversion: toString.
- outerHTML and string conversion: valueOf.
outerhtml-03.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Setting outerHTML on an Element without a parent should have no effect
- Setting outerHTML on an Element with a DocumentFragment parent should create a temporary <body>
- Setting outerHTML on an Element with a parent should replace it but leave the element unchanged
- Setting outerHTML on a <body> element should replace it but leave the element unchanged
parsed-document-origin.window.js 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- This document has a tuple origin (prerequisite for the tests below)
- DOMParser's parseFromString() with text/html
- DOMParser's parseFromString() with text/xml
- Document.parseHTML()
- Document.parseHTMLUnsafe()
- createDocument()
- createHTMLDocument()
positional-html-into-script-safe.html 91 / 91 passingChrome 91 / 910 failedClean
91 passing subtests
- Element.setHTML() on connected HTML script element is a silent no-op
- Element.setHTML() on disconnected HTML script element is a silent no-op
- Element.setHTML() on HTML script element with existing children does not modify or remove children
- Element.setHTML() on HTML script element does not execute scripts in markup
- Element.setHTML() on HTML script element with prefix is a silent no-op
- Element.setHTML() on HTML script element with options is a silent no-op
- Element.appendHTML() on connected HTML script element is a silent no-op
- Element.appendHTML() on disconnected HTML script element is a silent no-op
- Element.appendHTML() on HTML script element with existing children does not modify or remove children
- Element.appendHTML() on HTML script element does not execute scripts in markup
- Element.appendHTML() on HTML script element with prefix is a silent no-op
- Element.appendHTML() on HTML script element with options is a silent no-op
- Element.prependHTML() on connected HTML script element is a silent no-op
- Element.prependHTML() on disconnected HTML script element is a silent no-op
- Element.prependHTML() on HTML script element with existing children does not modify or remove children
- Element.prependHTML() on HTML script element does not execute scripts in markup
- Element.prependHTML() on HTML script element with prefix is a silent no-op
- Element.prependHTML() on HTML script element with options is a silent no-op
- Element.setHTML() on connected SVG script element is a silent no-op
- Element.setHTML() on disconnected SVG script element is a silent no-op
- Element.setHTML() on SVG script element with existing children does not modify or remove children
- Element.setHTML() on SVG script element does not execute scripts in markup
- Element.setHTML() on SVG script element with prefix is a silent no-op
- Element.appendHTML() on connected SVG script element is a silent no-op
- Element.appendHTML() on disconnected SVG script element is a silent no-op
- Element.appendHTML() on SVG script element with existing children does not modify or remove children
- Element.appendHTML() on SVG script element does not execute scripts in markup
- Element.appendHTML() on SVG script element with prefix is a silent no-op
- Element.prependHTML() on connected SVG script element is a silent no-op
- Element.prependHTML() on disconnected SVG script element is a silent no-op
- Element.prependHTML() on SVG script element with existing children does not modify or remove children
- Element.prependHTML() on SVG script element does not execute scripts in markup
- Element.prependHTML() on SVG script element with prefix is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Text child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Text child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Comment child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Comment child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Element child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Element child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on child of HTML script element with siblings does not modify DOM order or structure
- NonDocumentTypeChildNode.beforeHTML() on child of HTML script element does not execute scripts in markup
- NonDocumentTypeChildNode.beforeHTML() on child of HTML script element with prefix is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on child of HTML script element with options is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Text child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Text child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Comment child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Comment child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Element child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Element child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on child of HTML script element with siblings does not modify DOM order or structure
- NonDocumentTypeChildNode.afterHTML() on child of HTML script element does not execute scripts in markup
- NonDocumentTypeChildNode.afterHTML() on child of HTML script element with prefix is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on child of HTML script element with options is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Text child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Text child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Comment child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Comment child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Element child of connected HTML script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Element child of disconnected HTML script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on child of HTML script element with siblings does not modify DOM order or structure
- NonDocumentTypeChildNode.replaceWithHTML() on child of HTML script element does not execute scripts in markup
- NonDocumentTypeChildNode.replaceWithHTML() on child of HTML script element with prefix is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on child of HTML script element with options is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Text child of connected SVG script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Text child of disconnected SVG script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Element child of connected SVG script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on Element child of disconnected SVG script element is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on child of SVG script element does not execute scripts in markup
- NonDocumentTypeChildNode.beforeHTML() on child of SVG script element with prefix is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Text child of connected SVG script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Text child of disconnected SVG script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Element child of connected SVG script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on Element child of disconnected SVG script element is a silent no-op
- NonDocumentTypeChildNode.afterHTML() on child of SVG script element does not execute scripts in markup
- NonDocumentTypeChildNode.afterHTML() on child of SVG script element with prefix is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Text child of connected SVG script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Text child of disconnected SVG script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Element child of connected SVG script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on Element child of disconnected SVG script element is a silent no-op
- NonDocumentTypeChildNode.replaceWithHTML() on child of SVG script element does not execute scripts in markup
- NonDocumentTypeChildNode.replaceWithHTML() on child of SVG script element with prefix is a silent no-op
- NonDocumentTypeChildNode.beforeHTML() on HTML script element inside div uses div as context and inserts markup
- NonDocumentTypeChildNode.afterHTML() on HTML script element inside div uses div as context and inserts markup
- NonDocumentTypeChildNode.replaceWithHTML() on HTML script element inside div uses div as context and inserts markup
- Element.setHTMLUnsafe() on HTML script element is not a no-op
- Element.appendHTMLUnsafe() on HTML script element is not a no-op
- Element.prependHTMLUnsafe() on HTML script element is not a no-op
- NonDocumentTypeChildNode.beforeHTMLUnsafe() on child of HTML script element is not a no-op
- NonDocumentTypeChildNode.afterHTMLUnsafe() on child of HTML script element is not a no-op
- NonDocumentTypeChildNode.replaceWithHTMLUnsafe() on child of HTML script element is not a no-op
- Element.setHTML() on script element in non-HTML, non-SVG namespace is not a no-op
positional-methods-with-parser-options.html 284 / 284 passingChrome 284 / 2840 failedClean
284 passing subtests
- Policies determine runScripts: Element.beforeHTML (runScripts=true => true)
- Policies determine runScripts: Element.beforeHTML (runScripts=true => false)
- Policies determine runScripts: Element.beforeHTML (runScripts=false => true)
- Policies determine runScripts: Element.beforeHTML (runScripts=false => false)
- Policies determine runScripts: Element.beforeHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: Element.beforeHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: Element.beforeHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: Element.beforeHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: Element.beforeHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: Element.beforeHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: Element.beforeHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: Element.beforeHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: Element.beforeHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: Element.beforeHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: Element.beforeHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: Element.beforeHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: Element.beforeHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: Element.beforeHTMLUnsafe
- Policies determine runScripts: Element.afterHTML (runScripts=true => true)
- Policies determine runScripts: Element.afterHTML (runScripts=true => false)
- Policies determine runScripts: Element.afterHTML (runScripts=false => true)
- Policies determine runScripts: Element.afterHTML (runScripts=false => false)
- Policies determine runScripts: Element.afterHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: Element.afterHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: Element.afterHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: Element.afterHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: Element.afterHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: Element.afterHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: Element.afterHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: Element.afterHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: Element.afterHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: Element.afterHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: Element.afterHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: Element.afterHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: Element.afterHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: Element.afterHTMLUnsafe
- Policies determine runScripts: Element.replaceWithHTML (runScripts=true => true)
- Policies determine runScripts: Element.replaceWithHTML (runScripts=true => false)
- Policies determine runScripts: Element.replaceWithHTML (runScripts=false => true)
- Policies determine runScripts: Element.replaceWithHTML (runScripts=false => false)
- Policies determine runScripts: Element.replaceWithHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: Element.replaceWithHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: Element.replaceWithHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: Element.replaceWithHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: Element.replaceWithHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: Element.replaceWithHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: Element.replaceWithHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: Element.replaceWithHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: Element.replaceWithHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: Element.replaceWithHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: Element.replaceWithHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: Element.replaceWithHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: Element.replaceWithHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: Element.replaceWithHTMLUnsafe
- Policies determine runScripts: Element.appendHTML (runScripts=true => true)
- Policies determine runScripts: Element.appendHTML (runScripts=true => false)
- Policies determine runScripts: Element.appendHTML (runScripts=false => true)
- Policies determine runScripts: Element.appendHTML (runScripts=false => false)
- Policies determine runScripts: Element.appendHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: Element.appendHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: Element.appendHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: Element.appendHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: Element.appendHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: Element.appendHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: Element.appendHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: Element.appendHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: Element.appendHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: Element.appendHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: Element.appendHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: Element.appendHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: Element.appendHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: Element.appendHTMLUnsafe
- Policies determine runScripts: Element.prependHTML (runScripts=true => true)
- Policies determine runScripts: Element.prependHTML (runScripts=true => false)
- Policies determine runScripts: Element.prependHTML (runScripts=false => true)
- Policies determine runScripts: Element.prependHTML (runScripts=false => false)
- Policies determine runScripts: Element.prependHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: Element.prependHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: Element.prependHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: Element.prependHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: Element.prependHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: Element.prependHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: Element.prependHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: Element.prependHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: Element.prependHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: Element.prependHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: Element.prependHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: Element.prependHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: Element.prependHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: Element.prependHTMLUnsafe
- Policies determine runScripts: ShadowRoot.beforeHTML (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.beforeHTML (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.beforeHTML (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.beforeHTML (runScripts=false => false)
- Policies determine runScripts: ShadowRoot.beforeHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.beforeHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.beforeHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.beforeHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: ShadowRoot.beforeHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: ShadowRoot.beforeHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: ShadowRoot.beforeHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: ShadowRoot.beforeHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: ShadowRoot.beforeHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: ShadowRoot.beforeHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: ShadowRoot.beforeHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: ShadowRoot.beforeHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: ShadowRoot.beforeHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: ShadowRoot.beforeHTMLUnsafe
- Policies determine runScripts: ShadowRoot.afterHTML (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.afterHTML (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.afterHTML (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.afterHTML (runScripts=false => false)
- Policies determine runScripts: ShadowRoot.afterHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.afterHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.afterHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.afterHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: ShadowRoot.afterHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: ShadowRoot.afterHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: ShadowRoot.afterHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: ShadowRoot.afterHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: ShadowRoot.afterHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: ShadowRoot.afterHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: ShadowRoot.afterHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: ShadowRoot.afterHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: ShadowRoot.afterHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: ShadowRoot.afterHTMLUnsafe
- Policies determine runScripts: ShadowRoot.replaceWithHTML (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.replaceWithHTML (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.replaceWithHTML (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.replaceWithHTML (runScripts=false => false)
- Policies determine runScripts: ShadowRoot.replaceWithHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.replaceWithHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.replaceWithHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.replaceWithHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: ShadowRoot.replaceWithHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: ShadowRoot.replaceWithHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: ShadowRoot.replaceWithHTMLUnsafe
- Policies determine runScripts: ShadowRoot.appendHTML (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.appendHTML (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.appendHTML (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.appendHTML (runScripts=false => false)
- Policies determine runScripts: ShadowRoot.appendHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.appendHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.appendHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.appendHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: ShadowRoot.appendHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: ShadowRoot.appendHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: ShadowRoot.appendHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: ShadowRoot.appendHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: ShadowRoot.appendHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: ShadowRoot.appendHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: ShadowRoot.appendHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: ShadowRoot.appendHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: ShadowRoot.appendHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: ShadowRoot.appendHTMLUnsafe
- Policies determine runScripts: ShadowRoot.prependHTML (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.prependHTML (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.prependHTML (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.prependHTML (runScripts=false => false)
- Policies determine runScripts: ShadowRoot.prependHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: ShadowRoot.prependHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: ShadowRoot.prependHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: ShadowRoot.prependHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: ShadowRoot.prependHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: ShadowRoot.prependHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: ShadowRoot.prependHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: ShadowRoot.prependHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: ShadowRoot.prependHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: ShadowRoot.prependHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: ShadowRoot.prependHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: ShadowRoot.prependHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: ShadowRoot.prependHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: ShadowRoot.prependHTMLUnsafe
- Policies determine runScripts: template.content.beforeHTML (runScripts=true => true)
- Policies determine runScripts: template.content.beforeHTML (runScripts=true => false)
- Policies determine runScripts: template.content.beforeHTML (runScripts=false => true)
- Policies determine runScripts: template.content.beforeHTML (runScripts=false => false)
- Policies determine runScripts: template.content.beforeHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: template.content.beforeHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: template.content.beforeHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: template.content.beforeHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: template.content.beforeHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: template.content.beforeHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: template.content.beforeHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: template.content.beforeHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: template.content.beforeHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: template.content.beforeHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: template.content.beforeHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: template.content.beforeHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: template.content.beforeHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: template.content.beforeHTMLUnsafe
- Policies determine runScripts: template.content.afterHTML (runScripts=true => true)
- Policies determine runScripts: template.content.afterHTML (runScripts=true => false)
- Policies determine runScripts: template.content.afterHTML (runScripts=false => true)
- Policies determine runScripts: template.content.afterHTML (runScripts=false => false)
- Policies determine runScripts: template.content.afterHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: template.content.afterHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: template.content.afterHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: template.content.afterHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: template.content.afterHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: template.content.afterHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: template.content.afterHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: template.content.afterHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: template.content.afterHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: template.content.afterHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: template.content.afterHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: template.content.afterHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: template.content.afterHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: template.content.afterHTMLUnsafe
- Policies determine runScripts: template.content.replaceWithHTML (runScripts=true => true)
- Policies determine runScripts: template.content.replaceWithHTML (runScripts=true => false)
- Policies determine runScripts: template.content.replaceWithHTML (runScripts=false => true)
- Policies determine runScripts: template.content.replaceWithHTML (runScripts=false => false)
- Policies determine runScripts: template.content.replaceWithHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: template.content.replaceWithHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: template.content.replaceWithHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: template.content.replaceWithHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: template.content.replaceWithHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: template.content.replaceWithHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: template.content.replaceWithHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: template.content.replaceWithHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: template.content.replaceWithHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: template.content.replaceWithHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: template.content.replaceWithHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: template.content.replaceWithHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: template.content.replaceWithHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: template.content.replaceWithHTMLUnsafe
- Policies determine runScripts: template.content.appendHTML (runScripts=true => true)
- Policies determine runScripts: template.content.appendHTML (runScripts=true => false)
- Policies determine runScripts: template.content.appendHTML (runScripts=false => true)
- Policies determine runScripts: template.content.appendHTML (runScripts=false => false)
- Policies determine runScripts: template.content.appendHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: template.content.appendHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: template.content.appendHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: template.content.appendHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: template.content.appendHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: template.content.appendHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: template.content.appendHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: template.content.appendHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: template.content.appendHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: template.content.appendHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: template.content.appendHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: template.content.appendHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: template.content.appendHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: template.content.appendHTMLUnsafe
- Policies determine runScripts: template.content.prependHTML (runScripts=true => true)
- Policies determine runScripts: template.content.prependHTML (runScripts=true => false)
- Policies determine runScripts: template.content.prependHTML (runScripts=false => true)
- Policies determine runScripts: template.content.prependHTML (runScripts=false => false)
- Policies determine runScripts: template.content.prependHTMLUnsafe (runScripts=true => true)
- Policies determine runScripts: template.content.prependHTMLUnsafe (runScripts=true => false)
- Policies determine runScripts: template.content.prependHTMLUnsafe (runScripts=false => true)
- Policies determine runScripts: template.content.prependHTMLUnsafe (runScripts=false => false)
- Policy can inject sanitizer: template.content.prependHTMLUnsafe
- createParserOptions runs and injects sanitizer even when TrustedHTML is passed: template.content.prependHTMLUnsafe
- TrustedHTMLParserOptions overrides default policy: template.content.prependHTMLUnsafe
- createParserOptions returning null throws TypeError without calling createHTML: template.content.prependHTMLUnsafe
- createParserOptions returning undefined throws TypeError without calling createHTML: template.content.prependHTMLUnsafe
- createParserOptions returning 0 throws TypeError without calling createHTML: template.content.prependHTMLUnsafe
- createParserOptions returning 123 throws TypeError without calling createHTML: template.content.prependHTMLUnsafe
- createParserOptions returning "foo" throws TypeError without calling createHTML: template.content.prependHTMLUnsafe
- createParserOptions returning true throws TypeError without calling createHTML: template.content.prependHTMLUnsafe
- createParserOptions returning false throws TypeError without calling createHTML: template.content.prependHTMLUnsafe
- Comment.beforeHTMLUnsafe passes a "Node" sink name to createParserOptions
- Comment.afterHTMLUnsafe passes a "Node" sink name to createParserOptions
- Comment.replaceWithHTMLUnsafe passes a "Node" sink name to createParserOptions
- Text.beforeHTMLUnsafe passes a "Node" sink name to createParserOptions
- Text.afterHTMLUnsafe passes a "Node" sink name to createParserOptions
- Text.replaceWithHTMLUnsafe passes a "Node" sink name to createParserOptions
- ProcessingInstruction.beforeHTMLUnsafe passes a "Node" sink name to createParserOptions
- ProcessingInstruction.afterHTMLUnsafe passes a "Node" sink name to createParserOptions
- ProcessingInstruction.replaceWithHTMLUnsafe passes a "Node" sink name to createParserOptions
- beforeHTMLUnsafe checks createParserOptions before hierarchy checks
- afterHTMLUnsafe checks createParserOptions before hierarchy checks
- replaceWithHTMLUnsafe checks createParserOptions before hierarchy checks
- appendHTMLUnsafe checks createParserOptions before hierarchy checks
- prependHTMLUnsafe checks createParserOptions before hierarchy checks
positional-methods-with-trusted-types-no-createParserOptions.html 180 / 180 passingChrome 180 / 1800 failedClean
180 passing subtests
- Element.beforeHTML does not throw with vetting-free options and no createParserOptions in the default policy
- Element.beforeHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- Element.beforeHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.beforeHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- Element.afterHTML does not throw with vetting-free options and no createParserOptions in the default policy
- Element.afterHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- Element.afterHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.afterHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- Element.replaceWithHTML does not throw with vetting-free options and no createParserOptions in the default policy
- Element.replaceWithHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- Element.replaceWithHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.replaceWithHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- Element.appendHTML does not throw with vetting-free options and no createParserOptions in the default policy
- Element.appendHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- Element.appendHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.appendHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- Element.prependHTML does not throw with vetting-free options and no createParserOptions in the default policy
- Element.prependHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- Element.prependHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- Element.prependHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- ShadowRoot.beforeHTML does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.beforeHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.beforeHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.beforeHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- ShadowRoot.afterHTML does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.afterHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.afterHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.afterHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- ShadowRoot.replaceWithHTML does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.replaceWithHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.replaceWithHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.replaceWithHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- ShadowRoot.appendHTML does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.appendHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.appendHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.appendHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- ShadowRoot.prependHTML does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.prependHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- ShadowRoot.prependHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- ShadowRoot.prependHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- template.content.beforeHTML does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.beforeHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.beforeHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.beforeHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- template.content.afterHTML does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.afterHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.afterHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.afterHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- template.content.replaceWithHTML does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.replaceWithHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.replaceWithHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.replaceWithHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- template.content.appendHTML does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.appendHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.appendHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.appendHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
- template.content.prependHTML does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.prependHTMLUnsafe does not throw with vetting-free options and no createParserOptions in the default policy
- template.content.prependHTMLUnsafe does not throw with TrustedHTML and vetting-free options when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: 'default' } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: { removeElements: [] } } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with string and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { sanitizer: new Sanitizer() } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with string and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe throws TypeError with TrustedHTML and unvetted options { runScripts: true } when default policy lacks createParserOptions
- template.content.prependHTMLUnsafe does not throw or call createHTML when passed TrustedHTMLParserOptions
positional-methods-with-trusted-types.html 355 / 355 passingChrome 354 / 3550 failedClean
355 passing subtests
- Comment.beforeHTMLUnsafe passes a "Node" sink name to the default policy
- Comment.afterHTMLUnsafe passes a "Node" sink name to the default policy
- Comment.replaceWithHTMLUnsafe passes a "Node" sink name to the default policy
- Text.beforeHTMLUnsafe passes a "Node" sink name to the default policy
- Text.afterHTMLUnsafe passes a "Node" sink name to the default policy
- Text.replaceWithHTMLUnsafe passes a "Node" sink name to the default policy
- ProcessingInstruction.beforeHTMLUnsafe passes a "Node" sink name to the default policy
- ProcessingInstruction.afterHTMLUnsafe passes a "Node" sink name to the default policy
- ProcessingInstruction.replaceWithHTMLUnsafe passes a "Node" sink name to the default policy
- NonDocumentTypeChildNode unsafe methods evaluate Trusted Types before checking if parent is null
- NonDocumentTypeChildNode unsafe methods evaluate Trusted Types before parent for HTML insertion checks
- beforeHTMLUnsafe evaluates Trusted Types before determining the parent
- afterHTMLUnsafe evaluates Trusted Types before determining the parent
- replaceWithHTMLUnsafe evaluates Trusted Types before determining the parent
- NonDocumentTypeChildNode unsafe methods throw HierarchyRequestError when parent is a Document
- Unsafe positional methods evaluate Trusted Types before html element HierarchyRequestError checks
- Unsafe positional methods throw HierarchyRequestError when parent or target is an html element
- prependHTMLUnsafe evaluates Trusted Types before determining the reference child
- afterHTMLUnsafe evaluates Trusted Types before determining the next sibling
- Element.appendHTML (Element) does not go via createHTML with expected sink name
- Element.appendHTML (Element) does not invoke the default policy
- Element.appendHTMLUnsafe (Element) goes via createHTML with expected sink name
- Element.appendHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Element.appendHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.appendHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Element.appendHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Element.appendHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.prependHTML (Element) does not go via createHTML with expected sink name
- Element.prependHTML (Element) does not invoke the default policy
- Element.prependHTMLUnsafe (Element) goes via createHTML with expected sink name
- Element.prependHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Element.prependHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.prependHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Element.prependHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Element.prependHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.beforeHTML (Element) does not go via createHTML with expected sink name
- Element.beforeHTML (Element) does not invoke the default policy
- Element.beforeHTMLUnsafe (Element) goes via createHTML with expected sink name
- Element.beforeHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Element.beforeHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.beforeHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Element.beforeHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Element.beforeHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.afterHTML (Element) does not go via createHTML with expected sink name
- Element.afterHTML (Element) does not invoke the default policy
- Element.afterHTMLUnsafe (Element) goes via createHTML with expected sink name
- Element.afterHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Element.afterHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.afterHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Element.afterHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Element.afterHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.replaceWithHTML (Element) does not go via createHTML with expected sink name
- Element.replaceWithHTML (Element) does not invoke the default policy
- Element.replaceWithHTMLUnsafe (Element) goes via createHTML with expected sink name
- Element.replaceWithHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Element.replaceWithHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.replaceWithHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Element.replaceWithHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Element.replaceWithHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.beforeHTML (Element) does not go via createHTML with expected sink name
- Comment.beforeHTML (Element) does not invoke the default policy
- Comment.beforeHTMLUnsafe (Element) goes via createHTML with expected sink name
- Comment.beforeHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Comment.beforeHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.beforeHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Comment.beforeHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.beforeHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.afterHTML (Element) does not go via createHTML with expected sink name
- Comment.afterHTML (Element) does not invoke the default policy
- Comment.afterHTMLUnsafe (Element) goes via createHTML with expected sink name
- Comment.afterHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Comment.afterHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.afterHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Comment.afterHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.afterHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.replaceWithHTML (Element) does not go via createHTML with expected sink name
- Comment.replaceWithHTML (Element) does not invoke the default policy
- Comment.replaceWithHTMLUnsafe (Element) goes via createHTML with expected sink name
- Comment.replaceWithHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Comment.replaceWithHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.beforeHTML (Element) does not go via createHTML with expected sink name
- Text.beforeHTML (Element) does not invoke the default policy
- Text.beforeHTMLUnsafe (Element) goes via createHTML with expected sink name
- Text.beforeHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Text.beforeHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.beforeHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Text.beforeHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Text.beforeHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.afterHTML (Element) does not go via createHTML with expected sink name
- Text.afterHTML (Element) does not invoke the default policy
- Text.afterHTMLUnsafe (Element) goes via createHTML with expected sink name
- Text.afterHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Text.afterHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.afterHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Text.afterHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Text.afterHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.replaceWithHTML (Element) does not go via createHTML with expected sink name
- Text.replaceWithHTML (Element) does not invoke the default policy
- Text.replaceWithHTMLUnsafe (Element) goes via createHTML with expected sink name
- Text.replaceWithHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- Text.replaceWithHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.replaceWithHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- Text.replaceWithHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- Text.replaceWithHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.beforeHTML (Element) does not go via createHTML with expected sink name
- ProcessingInstruction.beforeHTML (Element) does not invoke the default policy
- ProcessingInstruction.beforeHTMLUnsafe (Element) goes via createHTML with expected sink name
- ProcessingInstruction.beforeHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- ProcessingInstruction.beforeHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.afterHTML (Element) does not go via createHTML with expected sink name
- ProcessingInstruction.afterHTML (Element) does not invoke the default policy
- ProcessingInstruction.afterHTMLUnsafe (Element) goes via createHTML with expected sink name
- ProcessingInstruction.afterHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- ProcessingInstruction.afterHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.replaceWithHTML (Element) does not go via createHTML with expected sink name
- ProcessingInstruction.replaceWithHTML (Element) does not invoke the default policy
- ProcessingInstruction.replaceWithHTMLUnsafe (Element) goes via createHTML with expected sink name
- ProcessingInstruction.replaceWithHTMLUnsafe (Element) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (Element) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (Element) throws TypeError when the default policy rejects the input
- ProcessingInstruction.replaceWithHTMLUnsafe (Element) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (Element) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.appendHTML (ShadowRoot) does not go via createHTML with expected sink name
- Element.appendHTML (ShadowRoot) does not invoke the default policy
- Element.appendHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Element.appendHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Element.appendHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.appendHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Element.appendHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Element.appendHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.prependHTML (ShadowRoot) does not go via createHTML with expected sink name
- Element.prependHTML (ShadowRoot) does not invoke the default policy
- Element.prependHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Element.prependHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Element.prependHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.prependHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Element.prependHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Element.prependHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.beforeHTML (ShadowRoot) does not go via createHTML with expected sink name
- Element.beforeHTML (ShadowRoot) does not invoke the default policy
- Element.beforeHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Element.beforeHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Element.beforeHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.beforeHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Element.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Element.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.afterHTML (ShadowRoot) does not go via createHTML with expected sink name
- Element.afterHTML (ShadowRoot) does not invoke the default policy
- Element.afterHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Element.afterHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Element.afterHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.afterHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Element.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Element.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.replaceWithHTML (ShadowRoot) does not go via createHTML with expected sink name
- Element.replaceWithHTML (ShadowRoot) does not invoke the default policy
- Element.replaceWithHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Element.replaceWithHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Element.replaceWithHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.replaceWithHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Element.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Element.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.beforeHTML (ShadowRoot) does not go via createHTML with expected sink name
- Comment.beforeHTML (ShadowRoot) does not invoke the default policy
- Comment.beforeHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Comment.beforeHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Comment.beforeHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.beforeHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Comment.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.afterHTML (ShadowRoot) does not go via createHTML with expected sink name
- Comment.afterHTML (ShadowRoot) does not invoke the default policy
- Comment.afterHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Comment.afterHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Comment.afterHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.afterHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Comment.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.replaceWithHTML (ShadowRoot) does not go via createHTML with expected sink name
- Comment.replaceWithHTML (ShadowRoot) does not invoke the default policy
- Comment.replaceWithHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Comment.replaceWithHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Comment.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.beforeHTML (ShadowRoot) does not go via createHTML with expected sink name
- Text.beforeHTML (ShadowRoot) does not invoke the default policy
- Text.beforeHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Text.beforeHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Text.beforeHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.beforeHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Text.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Text.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.afterHTML (ShadowRoot) does not go via createHTML with expected sink name
- Text.afterHTML (ShadowRoot) does not invoke the default policy
- Text.afterHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Text.afterHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Text.afterHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.afterHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Text.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Text.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.replaceWithHTML (ShadowRoot) does not go via createHTML with expected sink name
- Text.replaceWithHTML (ShadowRoot) does not invoke the default policy
- Text.replaceWithHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- Text.replaceWithHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- Text.replaceWithHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.replaceWithHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- Text.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- Text.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.beforeHTML (ShadowRoot) does not go via createHTML with expected sink name
- ProcessingInstruction.beforeHTML (ShadowRoot) does not invoke the default policy
- ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.afterHTML (ShadowRoot) does not go via createHTML with expected sink name
- ProcessingInstruction.afterHTML (ShadowRoot) does not invoke the default policy
- ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.replaceWithHTML (ShadowRoot) does not go via createHTML with expected sink name
- ProcessingInstruction.replaceWithHTML (ShadowRoot) does not invoke the default policy
- ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) goes via createHTML with expected sink name
- ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) throws TypeError when the default policy rejects the input
- ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.appendHTML (template.content) does not go via createHTML with expected sink name
- Element.appendHTML (template.content) does not invoke the default policy
- Element.appendHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Element.appendHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Element.appendHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.appendHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Element.appendHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Element.appendHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.prependHTML (template.content) does not go via createHTML with expected sink name
- Element.prependHTML (template.content) does not invoke the default policy
- Element.prependHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Element.prependHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Element.prependHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.prependHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Element.prependHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Element.prependHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.beforeHTML (template.content) does not go via createHTML with expected sink name
- Element.beforeHTML (template.content) does not invoke the default policy
- Element.beforeHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Element.beforeHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Element.beforeHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.beforeHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Element.beforeHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Element.beforeHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.afterHTML (template.content) does not go via createHTML with expected sink name
- Element.afterHTML (template.content) does not invoke the default policy
- Element.afterHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Element.afterHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Element.afterHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.afterHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Element.afterHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Element.afterHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Element.replaceWithHTML (template.content) does not go via createHTML with expected sink name
- Element.replaceWithHTML (template.content) does not invoke the default policy
- Element.replaceWithHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Element.replaceWithHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Element.replaceWithHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Element.replaceWithHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Element.replaceWithHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Element.replaceWithHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.beforeHTML (template.content) does not go via createHTML with expected sink name
- Comment.beforeHTML (template.content) does not invoke the default policy
- Comment.beforeHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Comment.beforeHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Comment.beforeHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.beforeHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Comment.beforeHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.beforeHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.afterHTML (template.content) does not go via createHTML with expected sink name
- Comment.afterHTML (template.content) does not invoke the default policy
- Comment.afterHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Comment.afterHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Comment.afterHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.afterHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Comment.afterHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.afterHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Comment.replaceWithHTML (template.content) does not go via createHTML with expected sink name
- Comment.replaceWithHTML (template.content) does not invoke the default policy
- Comment.replaceWithHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Comment.replaceWithHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Comment.replaceWithHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Comment.replaceWithHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.beforeHTML (template.content) does not go via createHTML with expected sink name
- Text.beforeHTML (template.content) does not invoke the default policy
- Text.beforeHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Text.beforeHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Text.beforeHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.beforeHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Text.beforeHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Text.beforeHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.afterHTML (template.content) does not go via createHTML with expected sink name
- Text.afterHTML (template.content) does not invoke the default policy
- Text.afterHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Text.afterHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Text.afterHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.afterHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Text.afterHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Text.afterHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- Text.replaceWithHTML (template.content) does not go via createHTML with expected sink name
- Text.replaceWithHTML (template.content) does not invoke the default policy
- Text.replaceWithHTMLUnsafe (template.content) goes via createHTML with expected sink name
- Text.replaceWithHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- Text.replaceWithHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- Text.replaceWithHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- Text.replaceWithHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- Text.replaceWithHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.beforeHTML (template.content) does not go via createHTML with expected sink name
- ProcessingInstruction.beforeHTML (template.content) does not invoke the default policy
- ProcessingInstruction.beforeHTMLUnsafe (template.content) goes via createHTML with expected sink name
- ProcessingInstruction.beforeHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- ProcessingInstruction.beforeHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.beforeHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.afterHTML (template.content) does not go via createHTML with expected sink name
- ProcessingInstruction.afterHTML (template.content) does not invoke the default policy
- ProcessingInstruction.afterHTMLUnsafe (template.content) goes via createHTML with expected sink name
- ProcessingInstruction.afterHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- ProcessingInstruction.afterHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.afterHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
- ProcessingInstruction.replaceWithHTML (template.content) does not go via createHTML with expected sink name
- ProcessingInstruction.replaceWithHTML (template.content) does not invoke the default policy
- ProcessingInstruction.replaceWithHTMLUnsafe (template.content) goes via createHTML with expected sink name
- ProcessingInstruction.replaceWithHTMLUnsafe (template.content) passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (template.content) with vetting-free options passes the correct sink name to the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (template.content) throws TypeError when the default policy rejects the input
- ProcessingInstruction.replaceWithHTMLUnsafe (template.content) accepts TrustedHTML without invoking the default policy's createHTML
- ProcessingInstruction.replaceWithHTMLUnsafe (template.content) accepts TrustedHTMLParserOptions without invoking the default policy's createHTML
positional-methods.html 480 / 480 passingChrome 460 / 4800 failedClean
480 passing subtests
- Position check: Element.appendHTML (Element)
- Only unsafe variants should run scripts: Element.appendHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.appendHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.appendHTML (Element)
- Position check: Element.appendHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Element.appendHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.appendHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.appendHTMLUnsafe (Element)
- Position check: Element.prependHTML (Element)
- Only unsafe variants should run scripts: Element.prependHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.prependHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.prependHTML (Element)
- Position check: Element.prependHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Element.prependHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.prependHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.prependHTMLUnsafe (Element)
- Position check: Element.beforeHTML (Element)
- Only unsafe variants should run scripts: Element.beforeHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.beforeHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.beforeHTML (Element)
- Position check: Element.beforeHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Element.beforeHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.beforeHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.beforeHTMLUnsafe (Element)
- Position check: Element.afterHTML (Element)
- Only unsafe variants should run scripts: Element.afterHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.afterHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.afterHTML (Element)
- Position check: Element.afterHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Element.afterHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.afterHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.afterHTMLUnsafe (Element)
- Position check: Element.replaceWithHTML (Element)
- Only unsafe variants should run scripts: Element.replaceWithHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.replaceWithHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.replaceWithHTML (Element)
- Position check: Element.replaceWithHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Element.replaceWithHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Element.replaceWithHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.replaceWithHTMLUnsafe (Element)
- Position check: Comment.beforeHTML (Element)
- Only unsafe variants should run scripts: Comment.beforeHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Comment.beforeHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.beforeHTML (Element)
- Position check: Comment.beforeHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Comment.beforeHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Comment.beforeHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.beforeHTMLUnsafe (Element)
- Position check: Comment.afterHTML (Element)
- Only unsafe variants should run scripts: Comment.afterHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Comment.afterHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.afterHTML (Element)
- Position check: Comment.afterHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Comment.afterHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Comment.afterHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.afterHTMLUnsafe (Element)
- Position check: Comment.replaceWithHTML (Element)
- Only unsafe variants should run scripts: Comment.replaceWithHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Comment.replaceWithHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.replaceWithHTML (Element)
- Position check: Comment.replaceWithHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Comment.replaceWithHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Comment.replaceWithHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.replaceWithHTMLUnsafe (Element)
- Position check: Text.beforeHTML (Element)
- Only unsafe variants should run scripts: Text.beforeHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Text.beforeHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.beforeHTML (Element)
- Position check: Text.beforeHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Text.beforeHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Text.beforeHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.beforeHTMLUnsafe (Element)
- Position check: Text.afterHTML (Element)
- Only unsafe variants should run scripts: Text.afterHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Text.afterHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.afterHTML (Element)
- Position check: Text.afterHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Text.afterHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Text.afterHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.afterHTMLUnsafe (Element)
- Position check: Text.replaceWithHTML (Element)
- Only unsafe variants should run scripts: Text.replaceWithHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: Text.replaceWithHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.replaceWithHTML (Element)
- Position check: Text.replaceWithHTMLUnsafe (Element)
- Only unsafe variants should run scripts: Text.replaceWithHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: Text.replaceWithHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.replaceWithHTMLUnsafe (Element)
- Position check: ProcessingInstruction.beforeHTML (Element)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.beforeHTML (Element)
- Position check: ProcessingInstruction.beforeHTMLUnsafe (Element)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.beforeHTMLUnsafe (Element)
- Position check: ProcessingInstruction.afterHTML (Element)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.afterHTML (Element)
- Position check: ProcessingInstruction.afterHTMLUnsafe (Element)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.afterHTMLUnsafe (Element)
- Position check: ProcessingInstruction.replaceWithHTML (Element)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTML (Element) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTML (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.replaceWithHTML (Element)
- Position check: ProcessingInstruction.replaceWithHTMLUnsafe (Element)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTMLUnsafe (Element) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTMLUnsafe (Element) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.replaceWithHTMLUnsafe (Element)
- Position check: Element.appendHTML (ShadowRoot)
- Only unsafe variants should run scripts: Element.appendHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.appendHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.appendHTML (ShadowRoot)
- Position check: Element.appendHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Element.appendHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.appendHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.appendHTMLUnsafe (ShadowRoot)
- Position check: Element.prependHTML (ShadowRoot)
- Only unsafe variants should run scripts: Element.prependHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.prependHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.prependHTML (ShadowRoot)
- Position check: Element.prependHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Element.prependHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.prependHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.prependHTMLUnsafe (ShadowRoot)
- Position check: Element.beforeHTML (ShadowRoot)
- Only unsafe variants should run scripts: Element.beforeHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.beforeHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.beforeHTML (ShadowRoot)
- Position check: Element.beforeHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Element.beforeHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.beforeHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.beforeHTMLUnsafe (ShadowRoot)
- Position check: Element.afterHTML (ShadowRoot)
- Only unsafe variants should run scripts: Element.afterHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.afterHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.afterHTML (ShadowRoot)
- Position check: Element.afterHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Element.afterHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.afterHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.afterHTMLUnsafe (ShadowRoot)
- Position check: Element.replaceWithHTML (ShadowRoot)
- Only unsafe variants should run scripts: Element.replaceWithHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.replaceWithHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.replaceWithHTML (ShadowRoot)
- Position check: Element.replaceWithHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Element.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Element.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.replaceWithHTMLUnsafe (ShadowRoot)
- Position check: Comment.beforeHTML (ShadowRoot)
- Only unsafe variants should run scripts: Comment.beforeHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Comment.beforeHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.beforeHTML (ShadowRoot)
- Position check: Comment.beforeHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Comment.beforeHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Comment.beforeHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.beforeHTMLUnsafe (ShadowRoot)
- Position check: Comment.afterHTML (ShadowRoot)
- Only unsafe variants should run scripts: Comment.afterHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Comment.afterHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.afterHTML (ShadowRoot)
- Position check: Comment.afterHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Comment.afterHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Comment.afterHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.afterHTMLUnsafe (ShadowRoot)
- Position check: Comment.replaceWithHTML (ShadowRoot)
- Only unsafe variants should run scripts: Comment.replaceWithHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Comment.replaceWithHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.replaceWithHTML (ShadowRoot)
- Position check: Comment.replaceWithHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Comment.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Comment.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.replaceWithHTMLUnsafe (ShadowRoot)
- Position check: Text.beforeHTML (ShadowRoot)
- Only unsafe variants should run scripts: Text.beforeHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Text.beforeHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.beforeHTML (ShadowRoot)
- Position check: Text.beforeHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Text.beforeHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Text.beforeHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.beforeHTMLUnsafe (ShadowRoot)
- Position check: Text.afterHTML (ShadowRoot)
- Only unsafe variants should run scripts: Text.afterHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Text.afterHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.afterHTML (ShadowRoot)
- Position check: Text.afterHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Text.afterHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Text.afterHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.afterHTMLUnsafe (ShadowRoot)
- Position check: Text.replaceWithHTML (ShadowRoot)
- Only unsafe variants should run scripts: Text.replaceWithHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Text.replaceWithHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.replaceWithHTML (ShadowRoot)
- Position check: Text.replaceWithHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: Text.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: Text.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.replaceWithHTMLUnsafe (ShadowRoot)
- Position check: ProcessingInstruction.beforeHTML (ShadowRoot)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.beforeHTML (ShadowRoot)
- Position check: ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.beforeHTMLUnsafe (ShadowRoot)
- Position check: ProcessingInstruction.afterHTML (ShadowRoot)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.afterHTML (ShadowRoot)
- Position check: ProcessingInstruction.afterHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.afterHTMLUnsafe (ShadowRoot)
- Position check: ProcessingInstruction.replaceWithHTML (ShadowRoot)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTML (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTML (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.replaceWithHTML (ShadowRoot)
- Position check: ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.replaceWithHTMLUnsafe (ShadowRoot)
- Position check: Element.appendHTML (template.content)
- Only unsafe variants should run scripts: Element.appendHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.appendHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.appendHTML (template.content)
- Position check: Element.appendHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Element.appendHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.appendHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.appendHTMLUnsafe (template.content)
- Position check: Element.prependHTML (template.content)
- Only unsafe variants should run scripts: Element.prependHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.prependHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.prependHTML (template.content)
- Position check: Element.prependHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Element.prependHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.prependHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.prependHTMLUnsafe (template.content)
- Position check: Element.beforeHTML (template.content)
- Only unsafe variants should run scripts: Element.beforeHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.beforeHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.beforeHTML (template.content)
- Position check: Element.beforeHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Element.beforeHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.beforeHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.beforeHTMLUnsafe (template.content)
- Position check: Element.afterHTML (template.content)
- Only unsafe variants should run scripts: Element.afterHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.afterHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.afterHTML (template.content)
- Position check: Element.afterHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Element.afterHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.afterHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.afterHTMLUnsafe (template.content)
- Position check: Element.replaceWithHTML (template.content)
- Only unsafe variants should run scripts: Element.replaceWithHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.replaceWithHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.replaceWithHTML (template.content)
- Position check: Element.replaceWithHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Element.replaceWithHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Element.replaceWithHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Element.replaceWithHTMLUnsafe (template.content)
- Position check: Comment.beforeHTML (template.content)
- Only unsafe variants should run scripts: Comment.beforeHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Comment.beforeHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.beforeHTML (template.content)
- Position check: Comment.beforeHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Comment.beforeHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Comment.beforeHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.beforeHTMLUnsafe (template.content)
- Position check: Comment.afterHTML (template.content)
- Only unsafe variants should run scripts: Comment.afterHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Comment.afterHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.afterHTML (template.content)
- Position check: Comment.afterHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Comment.afterHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Comment.afterHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.afterHTMLUnsafe (template.content)
- Position check: Comment.replaceWithHTML (template.content)
- Only unsafe variants should run scripts: Comment.replaceWithHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Comment.replaceWithHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.replaceWithHTML (template.content)
- Position check: Comment.replaceWithHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Comment.replaceWithHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Comment.replaceWithHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Comment.replaceWithHTMLUnsafe (template.content)
- Position check: Text.beforeHTML (template.content)
- Only unsafe variants should run scripts: Text.beforeHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Text.beforeHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.beforeHTML (template.content)
- Position check: Text.beforeHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Text.beforeHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Text.beforeHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.beforeHTMLUnsafe (template.content)
- Position check: Text.afterHTML (template.content)
- Only unsafe variants should run scripts: Text.afterHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Text.afterHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.afterHTML (template.content)
- Position check: Text.afterHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Text.afterHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Text.afterHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.afterHTMLUnsafe (template.content)
- Position check: Text.replaceWithHTML (template.content)
- Only unsafe variants should run scripts: Text.replaceWithHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Text.replaceWithHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.replaceWithHTML (template.content)
- Position check: Text.replaceWithHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: Text.replaceWithHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: Text.replaceWithHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: Text.replaceWithHTMLUnsafe (template.content)
- Position check: ProcessingInstruction.beforeHTML (template.content)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.beforeHTML (template.content)
- Position check: ProcessingInstruction.beforeHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.beforeHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.beforeHTMLUnsafe (template.content)
- Position check: ProcessingInstruction.afterHTML (template.content)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.afterHTML (template.content)
- Position check: ProcessingInstruction.afterHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.afterHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.afterHTMLUnsafe (template.content)
- Position check: ProcessingInstruction.replaceWithHTML (template.content)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTML (template.content) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTML (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.replaceWithHTML (template.content)
- Position check: ProcessingInstruction.replaceWithHTMLUnsafe (template.content)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTMLUnsafe (template.content) (runScripts=true)
- Only unsafe variants should run scripts: ProcessingInstruction.replaceWithHTMLUnsafe (template.content) (runScripts=false)
- Sanitizer should remove forbidden elements: ProcessingInstruction.replaceWithHTMLUnsafe (template.content)
- afterHTML throws HierarchyRequestError if parent is a Document (Comment node)
- afterHTML is exposed via the NonDocumentTypeChildNode mixin
- afterHTML is not available on DocumentType nodes
- afterHTML throws HierarchyRequestError if parent is a DocumentFragment
- afterHTML throws HierarchyRequestError if parent is an html element
- afterHTML throws HierarchyRequestError if parent is a disconnected html element
- afterHTML on Element without a parent returns undefined and does not throw
- afterHTML on Comment without a parent returns undefined and does not throw
- afterHTML on Text without a parent returns undefined and does not throw
- afterHTML on ProcessingInstruction without a parent returns undefined and does not throw
- beforeHTML throws HierarchyRequestError if parent is a Document (Comment node)
- beforeHTML is exposed via the NonDocumentTypeChildNode mixin
- beforeHTML is not available on DocumentType nodes
- beforeHTML throws HierarchyRequestError if parent is a DocumentFragment
- beforeHTML throws HierarchyRequestError if parent is an html element
- beforeHTML throws HierarchyRequestError if parent is a disconnected html element
- beforeHTML on Element without a parent returns undefined and does not throw
- beforeHTML on Comment without a parent returns undefined and does not throw
- beforeHTML on Text without a parent returns undefined and does not throw
- beforeHTML on ProcessingInstruction without a parent returns undefined and does not throw
- replaceWithHTML throws HierarchyRequestError if parent is a Document (Comment node)
- replaceWithHTML is exposed via the NonDocumentTypeChildNode mixin
- replaceWithHTML is not available on DocumentType nodes
- replaceWithHTML throws HierarchyRequestError if parent is a DocumentFragment
- replaceWithHTML throws HierarchyRequestError if parent is an html element
- replaceWithHTML throws HierarchyRequestError if parent is a disconnected html element
- replaceWithHTML on Element without a parent returns undefined and does not throw
- replaceWithHTML on Comment without a parent returns undefined and does not throw
- replaceWithHTML on Text without a parent returns undefined and does not throw
- replaceWithHTML on ProcessingInstruction without a parent returns undefined and does not throw
- appendHTML is exposed on Element and ShadowRoot only
- appendHTML on an html element throws HierarchyRequestError
- appendHTML on a disconnected html element throws HierarchyRequestError
- prependHTML is exposed on Element and ShadowRoot only
- prependHTML on an html element throws HierarchyRequestError
- prependHTML on a disconnected html element throws HierarchyRequestError
- setHTML on an html element succeeds
- appendHTML in an XML document uses the HTML parser and supports sanitization
- appendHTML supports declarative shadow roots
- appendHTML parses using parent Element (<tr>) as context
- appendHTML drops <td> when parsed using parent <div> as context
- appendHTML parses using <template> host as context
- appendHTML parses using ShadowRoot host as context
- appendHTML on disconnected node with a parent inserts content
- prependHTML in an XML document uses the HTML parser and supports sanitization
- prependHTML supports declarative shadow roots
- prependHTML parses using parent Element (<tr>) as context
- prependHTML drops <td> when parsed using parent <div> as context
- prependHTML parses using <template> host as context
- prependHTML parses using ShadowRoot host as context
- prependHTML on disconnected node with a parent inserts content
- beforeHTML in an XML document uses the HTML parser and supports sanitization
- beforeHTML supports declarative shadow roots
- beforeHTML parses using parent Element (<tr>) as context
- beforeHTML drops <td> when parsed using parent <div> as context
- beforeHTML parses using <template> host as context
- beforeHTML parses using ShadowRoot host as context
- beforeHTML on disconnected node with a parent inserts content
- afterHTML in an XML document uses the HTML parser and supports sanitization
- afterHTML supports declarative shadow roots
- afterHTML parses using parent Element (<tr>) as context
- afterHTML drops <td> when parsed using parent <div> as context
- afterHTML parses using <template> host as context
- afterHTML parses using ShadowRoot host as context
- afterHTML on disconnected node with a parent inserts content
- replaceWithHTML in an XML document uses the HTML parser and supports sanitization
- replaceWithHTML supports declarative shadow roots
- replaceWithHTML parses using parent Element (<tr>) as context
- replaceWithHTML drops <td> when parsed using parent <div> as context
- replaceWithHTML parses using <template> host as context
- replaceWithHTML parses using ShadowRoot host as context
- replaceWithHTML on disconnected node with a parent inserts content
- afterHTMLUnsafe throws HierarchyRequestError if parent is a Document (Comment node)
- afterHTMLUnsafe is exposed via the NonDocumentTypeChildNode mixin
- afterHTMLUnsafe is not available on DocumentType nodes
- afterHTMLUnsafe throws HierarchyRequestError if parent is a DocumentFragment
- afterHTMLUnsafe throws HierarchyRequestError if parent is an html element
- afterHTMLUnsafe throws HierarchyRequestError if parent is a disconnected html element
- afterHTMLUnsafe on Element without a parent returns undefined and does not throw
- afterHTMLUnsafe on Comment without a parent returns undefined and does not throw
- afterHTMLUnsafe on Text without a parent returns undefined and does not throw
- afterHTMLUnsafe on ProcessingInstruction without a parent returns undefined and does not throw
- beforeHTMLUnsafe throws HierarchyRequestError if parent is a Document (Comment node)
- beforeHTMLUnsafe is exposed via the NonDocumentTypeChildNode mixin
- beforeHTMLUnsafe is not available on DocumentType nodes
- beforeHTMLUnsafe throws HierarchyRequestError if parent is a DocumentFragment
- beforeHTMLUnsafe throws HierarchyRequestError if parent is an html element
- beforeHTMLUnsafe throws HierarchyRequestError if parent is a disconnected html element
- beforeHTMLUnsafe on Element without a parent returns undefined and does not throw
- beforeHTMLUnsafe on Comment without a parent returns undefined and does not throw
- beforeHTMLUnsafe on Text without a parent returns undefined and does not throw
- beforeHTMLUnsafe on ProcessingInstruction without a parent returns undefined and does not throw
- replaceWithHTMLUnsafe throws HierarchyRequestError if parent is a Document (Comment node)
- replaceWithHTMLUnsafe is exposed via the NonDocumentTypeChildNode mixin
- replaceWithHTMLUnsafe is not available on DocumentType nodes
- replaceWithHTMLUnsafe throws HierarchyRequestError if parent is a DocumentFragment
- replaceWithHTMLUnsafe throws HierarchyRequestError if parent is an html element
- replaceWithHTMLUnsafe throws HierarchyRequestError if parent is a disconnected html element
- replaceWithHTMLUnsafe on Element without a parent returns undefined and does not throw
- replaceWithHTMLUnsafe on Comment without a parent returns undefined and does not throw
- replaceWithHTMLUnsafe on Text without a parent returns undefined and does not throw
- replaceWithHTMLUnsafe on ProcessingInstruction without a parent returns undefined and does not throw
- appendHTMLUnsafe is exposed on Element and ShadowRoot only
- appendHTMLUnsafe on an html element throws HierarchyRequestError
- appendHTMLUnsafe on a disconnected html element throws HierarchyRequestError
- prependHTMLUnsafe is exposed on Element and ShadowRoot only
- prependHTMLUnsafe on an html element throws HierarchyRequestError
- prependHTMLUnsafe on a disconnected html element throws HierarchyRequestError
- setHTMLUnsafe on an html element succeeds
- appendHTMLUnsafe in an XML document uses the HTML parser and supports sanitization
- appendHTMLUnsafe supports declarative shadow roots
- appendHTMLUnsafe parses using parent Element (<tr>) as context
- appendHTMLUnsafe drops <td> when parsed using parent <div> as context
- appendHTMLUnsafe parses using <template> host as context
- appendHTMLUnsafe parses using ShadowRoot host as context
- appendHTMLUnsafe on disconnected node with a parent inserts content
- prependHTMLUnsafe in an XML document uses the HTML parser and supports sanitization
- prependHTMLUnsafe supports declarative shadow roots
- prependHTMLUnsafe parses using parent Element (<tr>) as context
- prependHTMLUnsafe drops <td> when parsed using parent <div> as context
- prependHTMLUnsafe parses using <template> host as context
- prependHTMLUnsafe parses using ShadowRoot host as context
- prependHTMLUnsafe on disconnected node with a parent inserts content
- beforeHTMLUnsafe in an XML document uses the HTML parser and supports sanitization
- beforeHTMLUnsafe supports declarative shadow roots
- beforeHTMLUnsafe parses using parent Element (<tr>) as context
- beforeHTMLUnsafe drops <td> when parsed using parent <div> as context
- beforeHTMLUnsafe parses using <template> host as context
- beforeHTMLUnsafe parses using ShadowRoot host as context
- beforeHTMLUnsafe on disconnected node with a parent inserts content
- afterHTMLUnsafe in an XML document uses the HTML parser and supports sanitization
- afterHTMLUnsafe supports declarative shadow roots
- afterHTMLUnsafe parses using parent Element (<tr>) as context
- afterHTMLUnsafe drops <td> when parsed using parent <div> as context
- afterHTMLUnsafe parses using <template> host as context
- afterHTMLUnsafe parses using ShadowRoot host as context
- afterHTMLUnsafe on disconnected node with a parent inserts content
- replaceWithHTMLUnsafe in an XML document uses the HTML parser and supports sanitization
- replaceWithHTMLUnsafe supports declarative shadow roots
- replaceWithHTMLUnsafe parses using parent Element (<tr>) as context
- replaceWithHTMLUnsafe drops <td> when parsed using parent <div> as context
- replaceWithHTMLUnsafe parses using <template> host as context
- replaceWithHTMLUnsafe parses using ShadowRoot host as context
- replaceWithHTMLUnsafe on disconnected node with a parent inserts content
positional-template-child.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- afterHTML on a direct child of a template element throws HierarchyRequestError
- beforeHTML on a direct child of a template element throws HierarchyRequestError
- replaceWithHTML on a direct child of a template element throws HierarchyRequestError
- afterHTMLUnsafe on a direct child of a template element throws HierarchyRequestError
- beforeHTMLUnsafe on a direct child of a template element throws HierarchyRequestError
- replaceWithHTMLUnsafe on a direct child of a template element throws HierarchyRequestError
stream-append-html-unsafe.html 14 / 14 passingChrome 14 / 140 failedClean
14 passing subtests
- piping a response into streamAppendHTMLUnsafe()
- writing a string to streamAppendHTMLUnsafe()
- streamAppendHTMLUnsafe() does not buffer until close()
- writing a Symbol to streamAppendHTMLUnsafe()
- writing numbers to streamAppendHTMLUnsafe()
- writing null or undefined to streamAppendHTMLUnsafe()
- streamAppendHTMLUnsafe() can stream into <style>
- Aborting streamAppendHTMLUnsafe()
- streamAppendHTMLUnsafe should not execute unclosed scripts on abort
- Interleaved streamAppendHTMLUnsafe() writes
- streamAppendHTMLUnsafe into a ShadowRoot
- streamAppendHTMLUnsafe into a template
- streamAppendHTMLUnsafe should execute scripts when connected
- streamAppendHTMLUnsafe should not execute scripts when disconnected
stream-append-html.html 17 / 17 passingChrome 17 / 170 failedClean
17 passing subtests
- piping a response into streamAppendHTML()
- writing a string to streamAppendHTML()
- streamAppendHTML() should append to existing content
- streamAppendHTML() does not buffer until close()
- writing a Symbol to streamAppendHTML()
- writing numbers to streamAppendHTML()
- writing null or undefined to streamAppendHTML()
- streamAppendHTML() can stream into <style>
- streamAppendHTML() can stream into a non-empty <style>
- Aborting streamAppendHTML()
- Interleaved streamAppendHTML() writes
- streamAppendHTML should not execute scripts when connected
- streamAppendHTML should pass sanitizer options
- streamAppendHTML on ShadowRoot
- streamAppendHTML uses safe sanitizer
- streamAppendHTML on ShadowRoot uses safe sanitizer
- streamAppendHTML with a chunk whose toString throws should reject
stream-fragment-context.html 81 / 81 passingChrome 81 / 810 failedClean
81 passing subtests
- streamHTML on <table> creates <tbody> and rows
- streamHTML on <tbody> parses <tr> children directly
- streamHTML on <tr> parses <td> and <th> children directly
- streamAppendHTML on <table> creates <tbody> and rows
- streamAppendHTML on <tbody> parses <tr> children directly
- streamAppendHTML on <tr> parses <td> and <th> children directly
- streamPrependHTML on <table> creates <tbody> and rows
- streamPrependHTML on <tbody> parses <tr> children directly
- streamPrependHTML on <tr> parses <td> and <th> children directly
- streamHTMLUnsafe on <table> creates <tbody> and rows
- streamHTMLUnsafe on <tbody> parses <tr> children directly
- streamHTMLUnsafe on <tr> parses <td> and <th> children directly
- streamAppendHTMLUnsafe on <table> creates <tbody> and rows
- streamAppendHTMLUnsafe on <tbody> parses <tr> children directly
- streamAppendHTMLUnsafe on <tr> parses <td> and <th> children directly
- streamPrependHTMLUnsafe on <table> creates <tbody> and rows
- streamPrependHTMLUnsafe on <tbody> parses <tr> children directly
- streamPrependHTMLUnsafe on <tr> parses <td> and <th> children directly
- streamHTML on <select> parses <option> and <optgroup>
- streamHTML on <option> parses text and character references
- streamAppendHTML on <select> parses <option> and <optgroup>
- streamAppendHTML on <option> parses text and character references
- streamPrependHTML on <select> parses <option> and <optgroup>
- streamPrependHTML on <option> parses text and character references
- streamHTMLUnsafe on <select> parses <option> and <optgroup>
- streamHTMLUnsafe on <option> parses text and character references
- streamAppendHTMLUnsafe on <select> parses <option> and <optgroup>
- streamAppendHTMLUnsafe on <option> parses text and character references
- streamPrependHTMLUnsafe on <select> parses <option> and <optgroup>
- streamPrependHTMLUnsafe on <option> parses text and character references
- streamHTML on <svg> parses foreign content with correct SVG/HTML namespaces
- streamAppendHTML on <svg> parses foreign content with correct SVG/HTML namespaces
- streamPrependHTML on <svg> parses foreign content with correct SVG/HTML namespaces
- streamHTMLUnsafe on <svg> parses foreign content with correct SVG/HTML namespaces
- streamAppendHTMLUnsafe on <svg> parses foreign content with correct SVG/HTML namespaces
- streamPrependHTMLUnsafe on <svg> parses foreign content with correct SVG/HTML namespaces
- streamHTML on <math> parses MathML content with MathML namespace
- streamAppendHTML on <math> parses MathML content with MathML namespace
- streamPrependHTML on <math> parses MathML content with MathML namespace
- streamHTMLUnsafe on <math> parses MathML content with MathML namespace
- streamAppendHTMLUnsafe on <math> parses MathML content with MathML namespace
- streamPrependHTMLUnsafe on <math> parses MathML content with MathML namespace
- streamBeforeHTML targeting child in <tr> context
- streamBeforeHTML targeting child in <svg> context
- streamAfterHTML targeting child in <tr> context
- streamAfterHTML targeting child in <svg> context
- streamReplaceWithHTML targeting child in <tr> context
- streamReplaceWithHTML targeting child in <svg> context
- streamBeforeHTMLUnsafe targeting child in <tr> context
- streamBeforeHTMLUnsafe targeting child in <svg> context
- streamAfterHTMLUnsafe targeting child in <tr> context
- streamAfterHTMLUnsafe targeting child in <svg> context
- streamReplaceWithHTMLUnsafe targeting child in <tr> context
- streamReplaceWithHTMLUnsafe targeting child in <svg> context
- streamHTML: chunk boundary is not treated as EOF for elements or attributes
- streamHTMLUnsafe: chunk boundary is not treated as EOF for elements or attributes
- streamAppendHTML: chunk boundary is not treated as EOF for elements or attributes
- streamAppendHTMLUnsafe: chunk boundary is not treated as EOF for elements or attributes
- streamHTML: foster parenting across chunk boundaries
- streamHTMLUnsafe: foster parenting across chunk boundaries
- streamAppendHTML: foster parenting across chunk boundaries
- streamAppendHTMLUnsafe: foster parenting across chunk boundaries
- streamAppendHTML: streamed text merges into existing trailing Text node
- streamAppendHTMLUnsafe: streamed text merges into existing trailing Text node
- streamAfterHTML: streamed text merges into preceding Text node
- streamAfterHTMLUnsafe: streamed text merges into preceding Text node
- streamHTMLUnsafe respects quirks mode vs no-quirks mode of context document
- streamHTML: unclosed <textarea> has expected defaultValue after close()
- streamHTML: unclosed <style> is popped on close()
- streamHTMLUnsafe: unclosed <textarea> has expected defaultValue after close()
- streamHTMLUnsafe: unclosed <style> is popped on close()
- streamAppendHTML: unclosed <textarea> has expected defaultValue after close()
- streamAppendHTML: unclosed <style> is popped on close()
- streamAppendHTMLUnsafe: unclosed <textarea> has expected defaultValue after close()
- streamAppendHTMLUnsafe: unclosed <style> is popped on close()
- streamHTML into an element in an XML document uses the HTML parser
- streamAppendHTML into an element in an XML document uses the HTML parser
- streamPrependHTML into an element in an XML document uses the HTML parser
- streamHTMLUnsafe into an element in an XML document uses the HTML parser
- streamAppendHTMLUnsafe into an element in an XML document uses the HTML parser
- streamPrependHTMLUnsafe into an element in an XML document uses the HTML parser
stream-html-abort-unblocks-rendering-defer.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- abort() unblocks rendering on a streamed render-blocking defer script
stream-html-abort-unblocks-rendering.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- abort() unblocks rendering on a streamed render-blocking parser-blocking script
stream-html-custom-element-sanitizer.html 122 / 122 passingChrome 116 / 1220 failedClean
122 passing subtests
- streamHTML blocks CE constructor when element is dropped by sanitizer (removeElements)
- streamHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- streamHTML blocks CE constructor when element is dropped by sanitizer (allowElements)
- streamHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- streamHTML blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- streamHTML blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- streamHTML blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- streamHTML blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- streamAppendHTML blocks CE constructor when element is dropped by sanitizer (removeElements)
- streamAppendHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- streamAppendHTML blocks CE constructor when element is dropped by sanitizer (allowElements)
- streamAppendHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- streamAppendHTML blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- streamAppendHTML blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- streamAppendHTML blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- streamAppendHTML blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- streamPrependHTML blocks CE constructor when element is dropped by sanitizer (removeElements)
- streamPrependHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- streamPrependHTML blocks CE constructor when element is dropped by sanitizer (allowElements)
- streamPrependHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- streamPrependHTML blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- streamPrependHTML blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- streamPrependHTML blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- streamPrependHTML blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- streamHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (removeElements)
- streamHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- streamHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (allowElements)
- streamHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- streamHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- streamHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- streamHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- streamHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- streamAppendHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (removeElements)
- streamAppendHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- streamAppendHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (allowElements)
- streamAppendHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- streamAppendHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- streamAppendHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- streamAppendHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- streamAppendHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- streamPrependHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (removeElements)
- streamPrependHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- streamPrependHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (allowElements)
- streamPrependHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- streamPrependHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- streamPrependHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- streamPrependHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- streamPrependHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- appendHTML blocks CE constructor when element is dropped by sanitizer (removeElements)
- appendHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- appendHTML blocks CE constructor when element is dropped by sanitizer (allowElements)
- appendHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- appendHTML blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- appendHTML blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- appendHTML blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- appendHTML blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- prependHTML blocks CE constructor when element is dropped by sanitizer (removeElements)
- prependHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- prependHTML blocks CE constructor when element is dropped by sanitizer (allowElements)
- prependHTML blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- prependHTML blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- prependHTML blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- prependHTML blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- prependHTML blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- appendHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (removeElements)
- appendHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- appendHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (allowElements)
- appendHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- appendHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- appendHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- appendHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- appendHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- prependHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (removeElements)
- prependHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (removeElements)
- prependHTMLUnsafe blocks CE constructor when element is dropped by sanitizer (allowElements)
- prependHTMLUnsafe blocks CE constructor in scoped registry when element is dropped by sanitizer (allowElements)
- prependHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (removeElements)
- prependHTMLUnsafe blocks CE constructor when <script is=...> is dropped by sanitizer (allowElements)
- prependHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (removeElements)
- prependHTMLUnsafe blocks CE constructor when <div is=...> is dropped by sanitizer (allowElements)
- streamHTML does not construct a kept custom element nested in a removed element
- streamAppendHTML does not construct a kept custom element nested in a removed element
- streamPrependHTML does not construct a kept custom element nested in a removed element
- streamHTMLUnsafe does not construct a kept custom element nested in a removed element
- streamHTMLUnsafe constructs a kept custom element nested in a replaceWithChildren element
- streamAppendHTMLUnsafe does not construct a kept custom element nested in a removed element
- streamAppendHTMLUnsafe constructs a kept custom element nested in a replaceWithChildren element
- streamPrependHTMLUnsafe does not construct a kept custom element nested in a removed element
- streamPrependHTMLUnsafe constructs a kept custom element nested in a replaceWithChildren element
- appendHTML does not construct a kept custom element nested in a removed element
- prependHTML does not construct a kept custom element nested in a removed element
- appendHTMLUnsafe does not construct a kept custom element nested in a removed element
- appendHTMLUnsafe constructs a kept custom element nested in a replaceWithChildren element
- prependHTMLUnsafe does not construct a kept custom element nested in a removed element
- prependHTMLUnsafe constructs a kept custom element nested in a replaceWithChildren element
- setHTML does not construct a kept custom element nested in a removed element
- setHTMLUnsafe does not construct a kept custom element nested in a removed element
- setHTMLUnsafe constructs a kept custom element nested in a replaceWithChildren element
- streamHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- streamHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- streamAppendHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- streamAppendHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- streamPrependHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- streamPrependHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- streamHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- streamHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- streamAppendHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- streamAppendHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- streamPrependHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- streamPrependHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- appendHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- appendHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- prependHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- prependHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- appendHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- appendHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- prependHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- prependHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- setHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- setHTML in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
- setHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: custom element)
- setHTMLUnsafe in createHTMLDocument() with scoped registry blocks CE constructor when removed (removeElements: ancestor div)
stream-html-custom-element.html 59 / 59 passingChrome 57 / 590 failedClean
59 passing subtests
- streamHTML on Element invokes CE reactions synchronously for removed children and on write
- streamHTML on ShadowRoot invokes CE reactions synchronously for removed children and on write
- streamHTMLUnsafe on Element invokes CE reactions synchronously for removed children and on write
- streamHTMLUnsafe on ShadowRoot invokes CE reactions synchronously for removed children and on write
- streamReplaceWithHTML on ChildNode invokes CE reactions synchronously for replaced element and on write
- streamReplaceWithHTMLUnsafe on ChildNode invokes CE reactions synchronously for replaced element and on write
- streamAppendHTML on Element invokes CE reactions on write/close without removing existing elements
- streamAppendHTML on ShadowRoot invokes CE reactions on write/close without removing existing elements
- streamAppendHTMLUnsafe on Element invokes CE reactions on write/close without removing existing elements
- streamAppendHTMLUnsafe on ShadowRoot invokes CE reactions on write/close without removing existing elements
- streamPrependHTML on Element invokes CE reactions on write/close without removing existing elements
- streamPrependHTML on ShadowRoot invokes CE reactions on write/close without removing existing elements
- streamPrependHTMLUnsafe on Element invokes CE reactions on write/close without removing existing elements
- streamPrependHTMLUnsafe on ShadowRoot invokes CE reactions on write/close without removing existing elements
- streamBeforeHTML on ChildNode invokes CE reactions on write/close without removing target element
- streamBeforeHTMLUnsafe on ChildNode invokes CE reactions on write/close without removing target element
- streamAfterHTML on ChildNode invokes CE reactions on write/close without removing target element
- streamAfterHTMLUnsafe on ChildNode invokes CE reactions on write/close without removing target element
- streamHTML with replaceWithChildrenElements preserves scoped customElementRegistry
- streamHTML should use scoped custom element registry
- streamHTML on ShadowRoot uses ShadowRoot's customElementRegistry
- streamHTMLUnsafe with replaceWithChildrenElements preserves scoped customElementRegistry
- streamHTMLUnsafe should use scoped custom element registry
- streamHTMLUnsafe on ShadowRoot uses ShadowRoot's customElementRegistry
- streamAppendHTML with replaceWithChildrenElements preserves scoped customElementRegistry
- streamAppendHTML should use scoped custom element registry
- streamAppendHTML on ShadowRoot uses ShadowRoot's customElementRegistry
- streamAppendHTMLUnsafe with replaceWithChildrenElements preserves scoped customElementRegistry
- streamAppendHTMLUnsafe should use scoped custom element registry
- streamAppendHTMLUnsafe on ShadowRoot uses ShadowRoot's customElementRegistry
- streamPrependHTML with replaceWithChildrenElements preserves scoped customElementRegistry
- streamPrependHTML should use scoped custom element registry
- streamPrependHTML on ShadowRoot uses ShadowRoot's customElementRegistry
- streamPrependHTMLUnsafe with replaceWithChildrenElements preserves scoped customElementRegistry
- streamPrependHTMLUnsafe should use scoped custom element registry
- streamPrependHTMLUnsafe on ShadowRoot uses ShadowRoot's customElementRegistry
- streamHTMLUnsafe: CE callbacks run before the next inline script in the same chunk
- streamAppendHTMLUnsafe: CE callbacks run before the next inline script in the same chunk
- streamPrependHTMLUnsafe: CE callbacks run before the next inline script in the same chunk
- streamBeforeHTMLUnsafe: CE callbacks run before the next inline script in the same chunk
- streamAfterHTMLUnsafe: CE callbacks run before the next inline script in the same chunk
- streamReplaceWithHTMLUnsafe: CE callbacks run before the next inline script in the same chunk
- Streamed nodes in an iframe have the iframe document as ownerDocument, and stream is in the iframe's realm
- Streamed nodes in a DOMParser document have the DOMParser document as ownerDocument
- Streamed nodes into <template> have tpl.content.ownerDocument as their ownerDocument
- streamHTML on <template> does not construct or upgrade top-level or nested custom elements
- streamHTML on a disconnected target with scoped registry constructs custom elements before write() resolves
- streamHTML with misnested formatting elements (<b><div><my-ce></my-ce></b></div>) invokes adoption agency CE reactions in order
- streamHTMLUnsafe on <template> does not construct or upgrade top-level or nested custom elements
- streamHTMLUnsafe on a disconnected target with scoped registry constructs custom elements before write() resolves
- streamHTMLUnsafe with misnested formatting elements (<b><div><my-ce></my-ce></b></div>) invokes adoption agency CE reactions in order
- streamAppendHTML on <template> does not construct or upgrade top-level or nested custom elements
- streamAppendHTML on a disconnected target with scoped registry constructs custom elements before write() resolves
- streamAppendHTML with misnested formatting elements (<b><div><my-ce></my-ce></b></div>) invokes adoption agency CE reactions in order
- streamAppendHTMLUnsafe on <template> does not construct or upgrade top-level or nested custom elements
- streamAppendHTMLUnsafe on a disconnected target with scoped registry constructs custom elements before write() resolves
- streamAppendHTMLUnsafe with misnested formatting elements (<b><div><my-ce></my-ce></b></div>) invokes adoption agency CE reactions in order
- streamHTMLUnsafe uses the new document's registry after the target is adopted mid-stream
- streamHTMLUnsafe uses the new document's registry after the target is adopted mid-stream for children of a replaceWithChildrenElements element
stream-html-defer-async-script.html 15 / 15 passingChrome 10 / 150 failedClean
15 passing subtests
- element.streamAppendHTMLUnsafe with defer/async scripts
- element.streamAppendHTMLUnsafe: defer and module scripts run after close() resolves, one per task
- element.streamAppendHTMLUnsafe: inline defer, importmap, and speculationrules scripts
- element.streamAppendHTMLUnsafe: streamed importmap registers and resolves specifiers for streamed module scripts
- element.streamAppendHTMLUnsafe: async scripts do not block parsing and run in load order
- element.streamAppendHTMLUnsafe with defer/module scripts should not execute on abort
- element.streamAppendHTMLUnsafe should not modify Document readyState
- element.streamHTMLUnsafe with defer/async scripts
- element.streamHTMLUnsafe: defer and module scripts run after close() resolves, one per task
- element.streamHTMLUnsafe: inline defer, importmap, and speculationrules scripts
- element.streamHTMLUnsafe: streamed importmap registers and resolves specifiers for streamed module scripts
- element.streamHTMLUnsafe: async scripts do not block parsing and run in load order
- element.streamHTMLUnsafe with defer/module scripts should not execute on abort
- element.streamHTMLUnsafe should not modify Document readyState
- element.streamPrependHTMLUnsafe: defer scripts do not run if the reference child is removed before a trailing '<' is flushed by close()
stream-html-disconnected-target-scripts.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- streamHTMLUnsafe with runScripts: true into a disconnected element: external scripts run async once connected
- streamHTMLUnsafe with runScripts: false into a disconnected element: scripts never run
- streamAppendHTMLUnsafe with runScripts: true into a disconnected element: external scripts run async once connected
- streamAppendHTMLUnsafe with runScripts: false into a disconnected element: scripts never run
stream-html-element.html 28 / 28 passingChrome 4 / 280 failedClean
28 passing subtests
- streamAppendHTML on the html element throws HierarchyRequestError
- streamAppendHTML on the html element of an inert document throws HierarchyRequestError
- streamAppendHTML on a detached html element throws HierarchyRequestError
- streamPrependHTML on the html element throws HierarchyRequestError
- streamPrependHTML on the html element of an inert document throws HierarchyRequestError
- streamPrependHTML on a detached html element throws HierarchyRequestError
- streamBeforeHTML on head/body (parent is the html element) throws HierarchyRequestError
- streamBeforeHTML on a child of a detached html element throws HierarchyRequestError
- streamAfterHTML on head/body (parent is the html element) throws HierarchyRequestError
- streamAfterHTML on a child of a detached html element throws HierarchyRequestError
- streamReplaceWithHTML on head/body (parent is the html element) throws HierarchyRequestError
- streamReplaceWithHTML on a child of a detached html element throws HierarchyRequestError
- streamHTML on the html element replaces head and body
- streamHTML on the html element implies head and body
- streamAppendHTMLUnsafe on the html element throws HierarchyRequestError
- streamAppendHTMLUnsafe on the html element of an inert document throws HierarchyRequestError
- streamAppendHTMLUnsafe on a detached html element throws HierarchyRequestError
- streamPrependHTMLUnsafe on the html element throws HierarchyRequestError
- streamPrependHTMLUnsafe on the html element of an inert document throws HierarchyRequestError
- streamPrependHTMLUnsafe on a detached html element throws HierarchyRequestError
- streamBeforeHTMLUnsafe on head/body (parent is the html element) throws HierarchyRequestError
- streamBeforeHTMLUnsafe on a child of a detached html element throws HierarchyRequestError
- streamAfterHTMLUnsafe on head/body (parent is the html element) throws HierarchyRequestError
- streamAfterHTMLUnsafe on a child of a detached html element throws HierarchyRequestError
- streamReplaceWithHTMLUnsafe on head/body (parent is the html element) throws HierarchyRequestError
- streamReplaceWithHTMLUnsafe on a child of a detached html element throws HierarchyRequestError
- streamHTMLUnsafe on the html element replaces head and body
- streamHTMLUnsafe on the html element implies head and body
stream-html-live-document.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- document.write() from a script streamed by streamHTMLUnsafe writes to the live document
- document.close() on the live document does not close the parser of streamHTMLUnsafe
- document.open() on the live document does not close the parser of streamHTMLUnsafe
- document.write() from a script streamed by streamAppendHTMLUnsafe writes to the live document
- document.close() on the live document does not close the parser of streamAppendHTMLUnsafe
- document.open() on the live document does not close the parser of streamAppendHTMLUnsafe
- document.write() from a script streamed by streamPrependHTMLUnsafe writes to the live document
- document.close() on the live document does not close the parser of streamPrependHTMLUnsafe
- document.open() on the live document does not close the parser of streamPrependHTMLUnsafe
stream-html-parser-blocking-script.html 29 / 29 passingChrome 22 / 290 failedClean
29 passing subtests
- streamHTMLUnsafe with parser blocking script should process in order
- Multiple parser-blocking scripts with out-of-order fetch times execute in document order
- Inline script split across chunk boundaries executes only when tag closes
- External script tag split across chunk boundaries parses and executes correctly
- DOM mutations inside streamed parser-blocking script maintain correct insertion order
- streamHTMLUnsafe with parser-blocking script should not execute or parse buffered markup after abort
- streamHTMLUnsafe continues parsing after runtime script error
- streamHTMLUnsafe on detached element should parse markup without executing scripts
- write() resolves without waiting for a parser-blocking script to finish loading
- Chunks written while blocked are parsed in order before writes initiated from inside the blocking script
- Inline script writing to its own stream appends after the remainder of the current chunk
- close() while blocked waits for the blocking script and remaining input, then defer scripts run
- Unclosed <script> at close() never runs, stays in the DOM, and is marked already started
- Rejected write (symbol) stops the parser and prevents pending blocking script and buffered markup from running
- Rejected write (toStringThrow) stops the parser and prevents pending blocking script and buffered markup from running
- Rejected write (toStringAbortAndThrow) stops the parser and prevents pending blocking script and buffered markup from running
- Rejected write (toStringRemoveRefAndThrow) stops the parser and prevents pending blocking script and buffered markup from running
- Rejected write (displacedRef) stops the parser and prevents pending blocking script and buffered markup from running
- Abort with an unclosed <script> marks it already started
- Blocking script whose src 404s fires error event, parsing continues, and close() resolves
- Live document script-blocking stylesheets do not block streamed inline, external, or defer scripts
- document.currentScript is the script element in light DOM and null in a ShadowRoot
- document.write() from external streamed script is ignored; from inline streamed script implicitly opens document
- Two concurrent streams block independently
- Removing iframe while stream is blocked on external script does not crash or execute scripts
- streamHTMLUnsafe: close() waits for a pending parser-blocking script and remaining input
- streamAppendHTMLUnsafe: close() waits for a pending parser-blocking script and remaining input
- streamPrependHTMLUnsafe: close() waits for a pending parser-blocking script and remaining input
- streamBeforeHTMLUnsafe: close() rejects with HierarchyRequestError if referenceChild is removed after a pending parser-blocking script
stream-html-reentrancy.html 40 / 40 passingChrome 24 / 400 failedClean
40 passing subtests
- streamHTMLUnsafe: abort() from a streamed inline script is deferred until the current chunk is parsed
- streamHTMLUnsafe: abort() from a custom element reaction is deferred until the current chunk is parsed
- streamHTMLUnsafe: write() and close() from a streamed inline script are processed after the current chunk
- streamHTMLUnsafe: write() from a custom element reaction is processed after the current chunk
- streamHTMLUnsafe: abort() from a streamed inline script after a parser-blocking script stops parsing after the current token
- streamHTMLUnsafe: abort() from a microtask before a streamed script is prepared prevents that script from running
- streamHTMLUnsafe: abort() from a custom element reaction drops text that the current token would insert
- streamHTMLUnsafe: abort() from a custom element reaction drops elements that the current token would insert
- streamHTMLUnsafe: customized built-in <template shadowrootmode> upgrades at microtask checkpoint after attaching shadow root
- streamHTMLUnsafe: customized built-in <template for> upgrades at microtask checkpoint after patching
- streamHTMLUnsafe: abort() from a foster-parented custom element reaction in table text keeps patch markers at </template>
- streamHTMLUnsafe: write() from a streamed inline script after a parser-blocking script is parsed after the current chunk
- streamHTMLUnsafe: close() from a streamed inline script after a parser-blocking script closes the stream after the current chunk
- streamAppendHTMLUnsafe: abort() from a streamed inline script is deferred until the current chunk is parsed
- streamAppendHTMLUnsafe: abort() from a custom element reaction is deferred until the current chunk is parsed
- streamAppendHTMLUnsafe: write() and close() from a streamed inline script are processed after the current chunk
- streamAppendHTMLUnsafe: write() from a custom element reaction is processed after the current chunk
- streamAppendHTMLUnsafe: abort() from a streamed inline script after a parser-blocking script stops parsing after the current token
- streamAppendHTMLUnsafe: abort() from a microtask before a streamed script is prepared prevents that script from running
- streamAppendHTMLUnsafe: abort() from a custom element reaction drops text that the current token would insert
- streamAppendHTMLUnsafe: abort() from a custom element reaction drops elements that the current token would insert
- streamAppendHTMLUnsafe: customized built-in <template shadowrootmode> upgrades at microtask checkpoint after attaching shadow root
- streamAppendHTMLUnsafe: customized built-in <template for> upgrades at microtask checkpoint after patching
- streamAppendHTMLUnsafe: abort() from a foster-parented custom element reaction in table text keeps patch markers at </template>
- streamAppendHTMLUnsafe: write() from a streamed inline script after a parser-blocking script is parsed after the current chunk
- streamAppendHTMLUnsafe: close() from a streamed inline script after a parser-blocking script closes the stream after the current chunk
- streamPrependHTMLUnsafe: abort() from a streamed inline script is deferred until the current chunk is parsed
- streamPrependHTMLUnsafe: abort() from a custom element reaction is deferred until the current chunk is parsed
- streamPrependHTMLUnsafe: write() and close() from a streamed inline script are processed after the current chunk
- streamPrependHTMLUnsafe: write() from a custom element reaction is processed after the current chunk
- streamPrependHTMLUnsafe: abort() from a streamed inline script after a parser-blocking script stops parsing after the current token
- streamPrependHTMLUnsafe: abort() from a microtask before a streamed script is prepared prevents that script from running
- streamPrependHTMLUnsafe: abort() from a custom element reaction drops text that the current token would insert
- streamPrependHTMLUnsafe: abort() from a custom element reaction drops elements that the current token would insert
- streamPrependHTMLUnsafe: customized built-in <template shadowrootmode> upgrades at microtask checkpoint after attaching shadow root
- streamPrependHTMLUnsafe: customized built-in <template for> upgrades at microtask checkpoint after patching
- streamPrependHTMLUnsafe: abort() from a foster-parented custom element reaction in table text keeps patch markers at </template>
- streamPrependHTMLUnsafe: write() from a streamed inline script after a parser-blocking script is parsed after the current chunk
- streamPrependHTMLUnsafe: close() from a streamed inline script after a parser-blocking script closes the stream after the current chunk
- documentElement.streamHTMLUnsafe: abort() from a foster-parented custom element reaction in table text does not merge <body> attributes
stream-html-run-scripts-option.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- element.streamAppendHTMLUnsafe with runScripts: true
- element.streamAppendHTMLUnsafe with runScripts: false
- shadowRoot.streamAppendHTMLUnsafe with runScripts: false
- shadowRoot.streamAppendHTMLUnsafe with runScripts: true
- svg.streamAppendHTMLUnsafe with runScripts: false does not execute SVG <script>
- template.streamAppendHTMLUnsafe with runScripts: true does not execute scripts
- DOMParser document streamAppendHTMLUnsafe with runScripts: true does not execute scripts
- element.streamAppendHTMLUnsafe runs SVG scripts with runScripts: true
- element.streamAppendHTMLUnsafe does not run SVG scripts with runScripts: false
- element.streamAppendHTMLUnsafe does not run SVG scripts when target is disconnected
- element.streamAppendHTMLUnsafe does not run SVG scripts when an ancestor is removed by the sanitizer
- element.streamHTMLUnsafe with runScripts: true
- element.streamHTMLUnsafe with runScripts: false
- shadowRoot.streamHTMLUnsafe with runScripts: false
- shadowRoot.streamHTMLUnsafe with runScripts: true
- svg.streamHTMLUnsafe with runScripts: false does not execute SVG <script>
- template.streamHTMLUnsafe with runScripts: true does not execute scripts
- DOMParser document streamHTMLUnsafe with runScripts: true does not execute scripts
- element.streamHTMLUnsafe runs SVG scripts with runScripts: true
- element.streamHTMLUnsafe does not run SVG scripts with runScripts: false
- element.streamHTMLUnsafe does not run SVG scripts when target is disconnected
- element.streamHTMLUnsafe does not run SVG scripts when an ancestor is removed by the sanitizer
- element.streamHTMLUnsafe: a streamed <script> moved to another document before its end tag does not execute
- element.streamHTMLUnsafe: a streamed SVG <script> does not execute after the target moves to another document
- element.streamHTMLUnsafe: a streamed <script> moved within the same document before its end tag still executes
- element.streamAppendHTMLUnsafe: a streamed <script> moved to another document before its end tag does not execute
- element.streamAppendHTMLUnsafe: a streamed SVG <script> does not execute after the target moves to another document
- element.streamAppendHTMLUnsafe: a streamed <script> moved within the same document before its end tag still executes
- element.streamHTML never runs SVG scripts, even with runScripts: true
- element.streamAppendHTML never runs SVG scripts, even with runScripts: true
stream-html-sanitizer-safe.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- Element.streamHTML should use the safe sanitizer
- Element.streamHTMLUnsafe should not use the safe sanitizer
- ShadowRoot.streamHTML should use the safe sanitizer
- ShadowRoot.streamHTMLUnsafe should not use the safe sanitizer
- Element.streamAppendHTML should use the safe sanitizer
- Element.streamAppendHTMLUnsafe should not use the safe sanitizer
- ShadowRoot.streamAppendHTML should use the safe sanitizer
- ShadowRoot.streamAppendHTMLUnsafe should not use the safe sanitizer
- Element.streamPrependHTML should use the safe sanitizer
- Element.streamPrependHTMLUnsafe should not use the safe sanitizer
- ShadowRoot.streamPrependHTML should use the safe sanitizer
- ShadowRoot.streamPrependHTMLUnsafe should not use the safe sanitizer
- Element.streamBeforeHTML should use the safe sanitizer
- Element.streamBeforeHTMLUnsafe should not use the safe sanitizer
- Comment.streamBeforeHTML should use the safe sanitizer
- Comment.streamBeforeHTMLUnsafe should not use the safe sanitizer
- Text.streamBeforeHTML should use the safe sanitizer
- Text.streamBeforeHTMLUnsafe should not use the safe sanitizer
- Element.streamAfterHTML should use the safe sanitizer
- Element.streamAfterHTMLUnsafe should not use the safe sanitizer
- Comment.streamAfterHTML should use the safe sanitizer
- Comment.streamAfterHTMLUnsafe should not use the safe sanitizer
- Text.streamAfterHTML should use the safe sanitizer
- Text.streamAfterHTMLUnsafe should not use the safe sanitizer
- Element.streamReplaceWithHTML should use the safe sanitizer
- Element.streamReplaceWithHTMLUnsafe should not use the safe sanitizer
- Comment.streamReplaceWithHTML should use the safe sanitizer
- Comment.streamReplaceWithHTMLUnsafe should not use the safe sanitizer
- Text.streamReplaceWithHTML should use the safe sanitizer
- Text.streamReplaceWithHTMLUnsafe should not use the safe sanitizer
stream-html-sanitizer.html 338 / 338 passingChrome 336 / 3380 failedClean
338 passing subtests
- element.streamHTML with sanitizer {removeElements}
- element.streamHTML with sanitizer {elements}
- element.streamHTML with sanitizer {replaceWithChildrenElements}
- element.streamHTML with sanitizer {replaceWithChildrenElements} and text
- element.streamHTML with sanitizer {attributes}
- element.streamHTML with sanitizer {removeAttributes}
- element.streamHTML with sanitizer {element: [{removeAttributes}]}
- element.streamHTML with sanitizer {element: [{attributes}]}
- element.streamHTML with sanitizer should sanitize template contents
- element.streamHTML: sanitizer shouldn't allow escaping template
- element.streamHTML: replaced <template> inside a table drops its contents
- element.streamHTML: sanitizer takes effect after foster parenting
- element.streamHTML: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamHTML: sanitizer with foster parenting: removeElements
- element.streamHTML: sanitizer takes effect after adoption agency (1)
- element.streamHTML: sanitizer takes effect after adoption agency (2)
- element.streamHTML: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamHTML: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamHTML: Noah's Ark clause compares attributes before sanitization
- element.streamHTML: Noah's Ark clause still applies to identical sanitized attributes
- element.streamHTML: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamHTML: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamHTML: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamHTML with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamHTML with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamHTML: a kept <form> is the form owner of parsed form-associated elements
- element.streamHTML: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamHTML: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamHTMLUnsafe with sanitizer {removeElements}
- element.streamHTMLUnsafe with sanitizer {elements}
- element.streamHTMLUnsafe with sanitizer {replaceWithChildrenElements}
- element.streamHTMLUnsafe with sanitizer {replaceWithChildrenElements} and text
- element.streamHTMLUnsafe with sanitizer {attributes}
- element.streamHTMLUnsafe with sanitizer {removeAttributes}
- element.streamHTMLUnsafe with sanitizer {element: [{removeAttributes}]}
- element.streamHTMLUnsafe with sanitizer {element: [{attributes}]}
- element.streamHTMLUnsafe with sanitizer should sanitize template contents
- element.streamHTMLUnsafe: sanitizer shouldn't allow escaping template
- element.streamHTMLUnsafe: replaced <template> inside a table drops its contents
- element.streamHTMLUnsafe: sanitizer takes effect after foster parenting
- element.streamHTMLUnsafe: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamHTMLUnsafe: sanitizer with foster parenting: removeElements
- element.streamHTMLUnsafe: sanitizer takes effect after adoption agency (1)
- element.streamHTMLUnsafe: sanitizer takes effect after adoption agency (2)
- element.streamHTMLUnsafe: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamHTMLUnsafe: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamHTMLUnsafe: Noah's Ark clause compares attributes before sanitization
- element.streamHTMLUnsafe: Noah's Ark clause still applies to identical sanitized attributes
- element.streamHTMLUnsafe: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamHTMLUnsafe: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamHTMLUnsafe: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamHTMLUnsafe with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamHTMLUnsafe with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamHTMLUnsafe: a kept <form> is the form owner of parsed form-associated elements
- element.streamHTMLUnsafe: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamHTMLUnsafe: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamAppendHTML with sanitizer {removeElements}
- element.streamAppendHTML with sanitizer {elements}
- element.streamAppendHTML with sanitizer {replaceWithChildrenElements}
- element.streamAppendHTML with sanitizer {replaceWithChildrenElements} and text
- element.streamAppendHTML with sanitizer {attributes}
- element.streamAppendHTML with sanitizer {removeAttributes}
- element.streamAppendHTML with sanitizer {element: [{removeAttributes}]}
- element.streamAppendHTML with sanitizer {element: [{attributes}]}
- element.streamAppendHTML with sanitizer should sanitize template contents
- element.streamAppendHTML: sanitizer shouldn't allow escaping template
- element.streamAppendHTML: replaced <template> inside a table drops its contents
- element.streamAppendHTML: sanitizer takes effect after foster parenting
- element.streamAppendHTML: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamAppendHTML: sanitizer with foster parenting: removeElements
- element.streamAppendHTML: sanitizer takes effect after adoption agency (1)
- element.streamAppendHTML: sanitizer takes effect after adoption agency (2)
- element.streamAppendHTML: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamAppendHTML: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamAppendHTML: Noah's Ark clause compares attributes before sanitization
- element.streamAppendHTML: Noah's Ark clause still applies to identical sanitized attributes
- element.streamAppendHTML: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamAppendHTML: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamAppendHTML: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamAppendHTML with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamAppendHTML with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamAppendHTML: a kept <form> is the form owner of parsed form-associated elements
- element.streamAppendHTML: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamAppendHTML: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamAppendHTMLUnsafe with sanitizer {removeElements}
- element.streamAppendHTMLUnsafe with sanitizer {elements}
- element.streamAppendHTMLUnsafe with sanitizer {replaceWithChildrenElements}
- element.streamAppendHTMLUnsafe with sanitizer {replaceWithChildrenElements} and text
- element.streamAppendHTMLUnsafe with sanitizer {attributes}
- element.streamAppendHTMLUnsafe with sanitizer {removeAttributes}
- element.streamAppendHTMLUnsafe with sanitizer {element: [{removeAttributes}]}
- element.streamAppendHTMLUnsafe with sanitizer {element: [{attributes}]}
- element.streamAppendHTMLUnsafe with sanitizer should sanitize template contents
- element.streamAppendHTMLUnsafe: sanitizer shouldn't allow escaping template
- element.streamAppendHTMLUnsafe: replaced <template> inside a table drops its contents
- element.streamAppendHTMLUnsafe: sanitizer takes effect after foster parenting
- element.streamAppendHTMLUnsafe: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamAppendHTMLUnsafe: sanitizer with foster parenting: removeElements
- element.streamAppendHTMLUnsafe: sanitizer takes effect after adoption agency (1)
- element.streamAppendHTMLUnsafe: sanitizer takes effect after adoption agency (2)
- element.streamAppendHTMLUnsafe: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamAppendHTMLUnsafe: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamAppendHTMLUnsafe: Noah's Ark clause compares attributes before sanitization
- element.streamAppendHTMLUnsafe: Noah's Ark clause still applies to identical sanitized attributes
- element.streamAppendHTMLUnsafe: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamAppendHTMLUnsafe: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamAppendHTMLUnsafe: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamAppendHTMLUnsafe with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamAppendHTMLUnsafe with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamAppendHTMLUnsafe: a kept <form> is the form owner of parsed form-associated elements
- element.streamAppendHTMLUnsafe: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamAppendHTMLUnsafe: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamPrependHTML with sanitizer {removeElements}
- element.streamPrependHTML with sanitizer {elements}
- element.streamPrependHTML with sanitizer {replaceWithChildrenElements}
- element.streamPrependHTML with sanitizer {replaceWithChildrenElements} and text
- element.streamPrependHTML with sanitizer {attributes}
- element.streamPrependHTML with sanitizer {removeAttributes}
- element.streamPrependHTML with sanitizer {element: [{removeAttributes}]}
- element.streamPrependHTML with sanitizer {element: [{attributes}]}
- element.streamPrependHTML with sanitizer should sanitize template contents
- element.streamPrependHTML: sanitizer shouldn't allow escaping template
- element.streamPrependHTML: replaced <template> inside a table drops its contents
- element.streamPrependHTML: sanitizer takes effect after foster parenting
- element.streamPrependHTML: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamPrependHTML: sanitizer with foster parenting: removeElements
- element.streamPrependHTML: sanitizer takes effect after adoption agency (1)
- element.streamPrependHTML: sanitizer takes effect after adoption agency (2)
- element.streamPrependHTML: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamPrependHTML: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamPrependHTML: Noah's Ark clause compares attributes before sanitization
- element.streamPrependHTML: Noah's Ark clause still applies to identical sanitized attributes
- element.streamPrependHTML: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamPrependHTML: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamPrependHTML: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamPrependHTML with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamPrependHTML with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamPrependHTML: a kept <form> is the form owner of parsed form-associated elements
- element.streamPrependHTML: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamPrependHTML: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamPrependHTMLUnsafe with sanitizer {removeElements}
- element.streamPrependHTMLUnsafe with sanitizer {elements}
- element.streamPrependHTMLUnsafe with sanitizer {replaceWithChildrenElements}
- element.streamPrependHTMLUnsafe with sanitizer {replaceWithChildrenElements} and text
- element.streamPrependHTMLUnsafe with sanitizer {attributes}
- element.streamPrependHTMLUnsafe with sanitizer {removeAttributes}
- element.streamPrependHTMLUnsafe with sanitizer {element: [{removeAttributes}]}
- element.streamPrependHTMLUnsafe with sanitizer {element: [{attributes}]}
- element.streamPrependHTMLUnsafe with sanitizer should sanitize template contents
- element.streamPrependHTMLUnsafe: sanitizer shouldn't allow escaping template
- element.streamPrependHTMLUnsafe: replaced <template> inside a table drops its contents
- element.streamPrependHTMLUnsafe: sanitizer takes effect after foster parenting
- element.streamPrependHTMLUnsafe: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamPrependHTMLUnsafe: sanitizer with foster parenting: removeElements
- element.streamPrependHTMLUnsafe: sanitizer takes effect after adoption agency (1)
- element.streamPrependHTMLUnsafe: sanitizer takes effect after adoption agency (2)
- element.streamPrependHTMLUnsafe: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamPrependHTMLUnsafe: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamPrependHTMLUnsafe: Noah's Ark clause compares attributes before sanitization
- element.streamPrependHTMLUnsafe: Noah's Ark clause still applies to identical sanitized attributes
- element.streamPrependHTMLUnsafe: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamPrependHTMLUnsafe: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamPrependHTMLUnsafe: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamPrependHTMLUnsafe with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamPrependHTMLUnsafe with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamPrependHTMLUnsafe: a kept <form> is the form owner of parsed form-associated elements
- element.streamPrependHTMLUnsafe: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamPrependHTMLUnsafe: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamBeforeHTML with sanitizer {removeElements}
- element.streamBeforeHTML with sanitizer {elements}
- element.streamBeforeHTML with sanitizer {replaceWithChildrenElements}
- element.streamBeforeHTML with sanitizer {replaceWithChildrenElements} and text
- element.streamBeforeHTML with sanitizer {attributes}
- element.streamBeforeHTML with sanitizer {removeAttributes}
- element.streamBeforeHTML with sanitizer {element: [{removeAttributes}]}
- element.streamBeforeHTML with sanitizer {element: [{attributes}]}
- element.streamBeforeHTML with sanitizer should sanitize template contents
- element.streamBeforeHTML: sanitizer shouldn't allow escaping template
- element.streamBeforeHTML: replaced <template> inside a table drops its contents
- element.streamBeforeHTML: sanitizer takes effect after foster parenting
- element.streamBeforeHTML: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamBeforeHTML: sanitizer with foster parenting: removeElements
- element.streamBeforeHTML: sanitizer takes effect after adoption agency (1)
- element.streamBeforeHTML: sanitizer takes effect after adoption agency (2)
- element.streamBeforeHTML: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamBeforeHTML: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamBeforeHTML: Noah's Ark clause compares attributes before sanitization
- element.streamBeforeHTML: Noah's Ark clause still applies to identical sanitized attributes
- element.streamBeforeHTML: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamBeforeHTML: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamBeforeHTML: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamBeforeHTML with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamBeforeHTML with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamBeforeHTML: a kept <form> is the form owner of parsed form-associated elements
- element.streamBeforeHTML: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamBeforeHTML: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamBeforeHTMLUnsafe with sanitizer {removeElements}
- element.streamBeforeHTMLUnsafe with sanitizer {elements}
- element.streamBeforeHTMLUnsafe with sanitizer {replaceWithChildrenElements}
- element.streamBeforeHTMLUnsafe with sanitizer {replaceWithChildrenElements} and text
- element.streamBeforeHTMLUnsafe with sanitizer {attributes}
- element.streamBeforeHTMLUnsafe with sanitizer {removeAttributes}
- element.streamBeforeHTMLUnsafe with sanitizer {element: [{removeAttributes}]}
- element.streamBeforeHTMLUnsafe with sanitizer {element: [{attributes}]}
- element.streamBeforeHTMLUnsafe with sanitizer should sanitize template contents
- element.streamBeforeHTMLUnsafe: sanitizer shouldn't allow escaping template
- element.streamBeforeHTMLUnsafe: replaced <template> inside a table drops its contents
- element.streamBeforeHTMLUnsafe: sanitizer takes effect after foster parenting
- element.streamBeforeHTMLUnsafe: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamBeforeHTMLUnsafe: sanitizer with foster parenting: removeElements
- element.streamBeforeHTMLUnsafe: sanitizer takes effect after adoption agency (1)
- element.streamBeforeHTMLUnsafe: sanitizer takes effect after adoption agency (2)
- element.streamBeforeHTMLUnsafe: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamBeforeHTMLUnsafe: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamBeforeHTMLUnsafe: Noah's Ark clause compares attributes before sanitization
- element.streamBeforeHTMLUnsafe: Noah's Ark clause still applies to identical sanitized attributes
- element.streamBeforeHTMLUnsafe: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamBeforeHTMLUnsafe: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamBeforeHTMLUnsafe: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamBeforeHTMLUnsafe with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamBeforeHTMLUnsafe with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamBeforeHTMLUnsafe: a kept <form> is the form owner of parsed form-associated elements
- element.streamBeforeHTMLUnsafe: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamBeforeHTMLUnsafe: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamAfterHTML with sanitizer {removeElements}
- element.streamAfterHTML with sanitizer {elements}
- element.streamAfterHTML with sanitizer {replaceWithChildrenElements}
- element.streamAfterHTML with sanitizer {replaceWithChildrenElements} and text
- element.streamAfterHTML with sanitizer {attributes}
- element.streamAfterHTML with sanitizer {removeAttributes}
- element.streamAfterHTML with sanitizer {element: [{removeAttributes}]}
- element.streamAfterHTML with sanitizer {element: [{attributes}]}
- element.streamAfterHTML with sanitizer should sanitize template contents
- element.streamAfterHTML: sanitizer shouldn't allow escaping template
- element.streamAfterHTML: replaced <template> inside a table drops its contents
- element.streamAfterHTML: sanitizer takes effect after foster parenting
- element.streamAfterHTML: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamAfterHTML: sanitizer with foster parenting: removeElements
- element.streamAfterHTML: sanitizer takes effect after adoption agency (1)
- element.streamAfterHTML: sanitizer takes effect after adoption agency (2)
- element.streamAfterHTML: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamAfterHTML: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamAfterHTML: Noah's Ark clause compares attributes before sanitization
- element.streamAfterHTML: Noah's Ark clause still applies to identical sanitized attributes
- element.streamAfterHTML: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamAfterHTML: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamAfterHTML: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamAfterHTML with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamAfterHTML with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamAfterHTML: a kept <form> is the form owner of parsed form-associated elements
- element.streamAfterHTML: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamAfterHTML: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamAfterHTMLUnsafe with sanitizer {removeElements}
- element.streamAfterHTMLUnsafe with sanitizer {elements}
- element.streamAfterHTMLUnsafe with sanitizer {replaceWithChildrenElements}
- element.streamAfterHTMLUnsafe with sanitizer {replaceWithChildrenElements} and text
- element.streamAfterHTMLUnsafe with sanitizer {attributes}
- element.streamAfterHTMLUnsafe with sanitizer {removeAttributes}
- element.streamAfterHTMLUnsafe with sanitizer {element: [{removeAttributes}]}
- element.streamAfterHTMLUnsafe with sanitizer {element: [{attributes}]}
- element.streamAfterHTMLUnsafe with sanitizer should sanitize template contents
- element.streamAfterHTMLUnsafe: sanitizer shouldn't allow escaping template
- element.streamAfterHTMLUnsafe: replaced <template> inside a table drops its contents
- element.streamAfterHTMLUnsafe: sanitizer takes effect after foster parenting
- element.streamAfterHTMLUnsafe: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamAfterHTMLUnsafe: sanitizer with foster parenting: removeElements
- element.streamAfterHTMLUnsafe: sanitizer takes effect after adoption agency (1)
- element.streamAfterHTMLUnsafe: sanitizer takes effect after adoption agency (2)
- element.streamAfterHTMLUnsafe: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamAfterHTMLUnsafe: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamAfterHTMLUnsafe: Noah's Ark clause compares attributes before sanitization
- element.streamAfterHTMLUnsafe: Noah's Ark clause still applies to identical sanitized attributes
- element.streamAfterHTMLUnsafe: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamAfterHTMLUnsafe: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamAfterHTMLUnsafe: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamAfterHTMLUnsafe with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamAfterHTMLUnsafe with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamAfterHTMLUnsafe: a kept <form> is the form owner of parsed form-associated elements
- element.streamAfterHTMLUnsafe: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamAfterHTMLUnsafe: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamReplaceWithHTML with sanitizer {removeElements}
- element.streamReplaceWithHTML with sanitizer {elements}
- element.streamReplaceWithHTML with sanitizer {replaceWithChildrenElements}
- element.streamReplaceWithHTML with sanitizer {replaceWithChildrenElements} and text
- element.streamReplaceWithHTML with sanitizer {attributes}
- element.streamReplaceWithHTML with sanitizer {removeAttributes}
- element.streamReplaceWithHTML with sanitizer {element: [{removeAttributes}]}
- element.streamReplaceWithHTML with sanitizer {element: [{attributes}]}
- element.streamReplaceWithHTML with sanitizer should sanitize template contents
- element.streamReplaceWithHTML: sanitizer shouldn't allow escaping template
- element.streamReplaceWithHTML: replaced <template> inside a table drops its contents
- element.streamReplaceWithHTML: sanitizer takes effect after foster parenting
- element.streamReplaceWithHTML: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamReplaceWithHTML: sanitizer with foster parenting: removeElements
- element.streamReplaceWithHTML: sanitizer takes effect after adoption agency (1)
- element.streamReplaceWithHTML: sanitizer takes effect after adoption agency (2)
- element.streamReplaceWithHTML: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamReplaceWithHTML: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamReplaceWithHTML: Noah's Ark clause compares attributes before sanitization
- element.streamReplaceWithHTML: Noah's Ark clause still applies to identical sanitized attributes
- element.streamReplaceWithHTML: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamReplaceWithHTML: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamReplaceWithHTML: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamReplaceWithHTML with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamReplaceWithHTML with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamReplaceWithHTML: a kept <form> is the form owner of parsed form-associated elements
- element.streamReplaceWithHTML: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamReplaceWithHTML: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamReplaceWithHTMLUnsafe with sanitizer {removeElements}
- element.streamReplaceWithHTMLUnsafe with sanitizer {elements}
- element.streamReplaceWithHTMLUnsafe with sanitizer {replaceWithChildrenElements}
- element.streamReplaceWithHTMLUnsafe with sanitizer {replaceWithChildrenElements} and text
- element.streamReplaceWithHTMLUnsafe with sanitizer {attributes}
- element.streamReplaceWithHTMLUnsafe with sanitizer {removeAttributes}
- element.streamReplaceWithHTMLUnsafe with sanitizer {element: [{removeAttributes}]}
- element.streamReplaceWithHTMLUnsafe with sanitizer {element: [{attributes}]}
- element.streamReplaceWithHTMLUnsafe with sanitizer should sanitize template contents
- element.streamReplaceWithHTMLUnsafe: sanitizer shouldn't allow escaping template
- element.streamReplaceWithHTMLUnsafe: replaced <template> inside a table drops its contents
- element.streamReplaceWithHTMLUnsafe: sanitizer takes effect after foster parenting
- element.streamReplaceWithHTMLUnsafe: sanitizer with foster parenting: replaceWithChildrenElements
- element.streamReplaceWithHTMLUnsafe: sanitizer with foster parenting: removeElements
- element.streamReplaceWithHTMLUnsafe: sanitizer takes effect after adoption agency (1)
- element.streamReplaceWithHTMLUnsafe: sanitizer takes effect after adoption agency (2)
- element.streamReplaceWithHTMLUnsafe: mutating the sanitizer while streaming does not affect the originally given sanitizer
- element.streamReplaceWithHTMLUnsafe: passing an invalid sanitizer config should not create the stream or mutate the DOM
- element.streamReplaceWithHTMLUnsafe: Noah's Ark clause compares attributes before sanitization
- element.streamReplaceWithHTMLUnsafe: Noah's Ark clause still applies to identical sanitized attributes
- element.streamReplaceWithHTMLUnsafe: foster parenting when table's parent in stack is in replaceWithChildrenElements
- element.streamReplaceWithHTMLUnsafe: foster-parented replaceWithChildrenElements element unwraps before table
- element.streamReplaceWithHTMLUnsafe: replaceWithChildrenElements preserves ownerDocument and does not attach inner declarative shadow root
- element.streamReplaceWithHTMLUnsafe with sanitizer {comments: false} drops comments, including ones split across chunks
- element.streamReplaceWithHTMLUnsafe with sanitizer {comments: true} keeps comments, including ones split across chunks
- element.streamReplaceWithHTMLUnsafe: a kept <form> is the form owner of parsed form-associated elements
- element.streamReplaceWithHTMLUnsafe: a <form> in replaceWithChildrenElements does not become the form owner
- element.streamReplaceWithHTMLUnsafe: a <form> in removeElements is removed along with its descendants and does not become the form owner
- element.streamHTML: the adoption agency algorithm does not insert into a document that has a document element
- element.streamHTMLUnsafe: the adoption agency algorithm does not insert into a document that has a document element
stream-html-script-safe.html 36 / 36 passingChrome 36 / 360 failedClean
36 passing subtests
- Streaming setter streamHTML targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamAppendHTML targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamPrependHTML targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamHTMLUnsafe targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamAppendHTMLUnsafe targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamPrependHTMLUnsafe targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamBeforeHTML targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamAfterHTML targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamReplaceWithHTML targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamBeforeHTMLUnsafe targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamAfterHTMLUnsafe targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamReplaceWithHTMLUnsafe targeting an HTML <script> element throws NotSupportedError and preserves children
- Streaming setter streamHTML targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamAppendHTML targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamPrependHTML targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamHTMLUnsafe targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamAppendHTMLUnsafe targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamPrependHTMLUnsafe targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamBeforeHTML targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamAfterHTML targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamReplaceWithHTML targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamBeforeHTMLUnsafe targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamAfterHTMLUnsafe targeting an SVG <script> element throws NotSupportedError and preserves children
- Streaming setter streamReplaceWithHTMLUnsafe targeting an SVG <script> element throws NotSupportedError and preserves children
- streamHTML on <script> throws NotSupportedError before validating sanitizer config
- streamAppendHTML on <script> throws NotSupportedError before validating sanitizer config
- streamPrependHTML on <script> throws NotSupportedError before validating sanitizer config
- streamHTMLUnsafe on <script> throws NotSupportedError before validating sanitizer config
- streamAppendHTMLUnsafe on <script> throws NotSupportedError before validating sanitizer config
- streamPrependHTMLUnsafe on <script> throws NotSupportedError before validating sanitizer config
- streamBeforeHTML on child of <script> throws NotSupportedError before validating sanitizer config
- streamAfterHTML on child of <script> throws NotSupportedError before validating sanitizer config
- streamReplaceWithHTML on child of <script> throws NotSupportedError before validating sanitizer config
- streamBeforeHTMLUnsafe on child of <script> throws NotSupportedError before validating sanitizer config
- streamAfterHTMLUnsafe on child of <script> throws NotSupportedError before validating sanitizer config
- streamReplaceWithHTMLUnsafe on child of <script> throws NotSupportedError before validating sanitizer config
stream-html-stylesheet-does-not-block-scripts.html 9 / 9 passingChrome 0 / 90 failedClean
9 passing subtests
- streamHTMLUnsafe: a streamed <link rel=stylesheet> does not block a following streamed inline script
- streamHTMLUnsafe: a pending style sheet in the live document does not block a streamed inline script
- streamHTMLUnsafe: a streamed <link rel=stylesheet> does not block a following streamed external script
- streamAppendHTMLUnsafe: a streamed <link rel=stylesheet> does not block a following streamed inline script
- streamAppendHTMLUnsafe: a pending style sheet in the live document does not block a streamed inline script
- streamAppendHTMLUnsafe: a streamed <link rel=stylesheet> does not block a following streamed external script
- streamPrependHTMLUnsafe: a streamed <link rel=stylesheet> does not block a following streamed inline script
- streamPrependHTMLUnsafe: a pending style sheet in the live document does not block a streamed inline script
- streamPrependHTMLUnsafe: a streamed <link rel=stylesheet> does not block a following streamed external script
stream-html-unsafe.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- piping a response into streamHTMLUnsafe()
- writing a string to streamHTMLUnsafe()
- streamHTMLUnsafe() should remove existing content immediately
- streamHTMLUnsafe() does not buffer until close()
- streamHTMLUnsafe() inserts bare text before close()
- writing a Symbol to streamHTMLUnsafe()
- writing numbers to streamHTMLUnsafe()
- writing null or undefined to streamHTMLUnsafe()
- streamHTMLUnsafe() can stream into <style>
- Aborting streamHTMLUnsafe()
- streamHTMLUnsafe should not execute unclosed scripts on abort
- Interleaved streamHTMLUnsafe() writes
- streamHTMLUnsafe into a ShadowRoot
- streamHTMLUnsafe into a template
- streamHTMLUnsafe: abort() while a write that aborts the parser is in flight
- streamHTMLUnsafe should execute scripts when connected
- streamHTMLUnsafe should not execute scripts when disconnected
- Aborting streamHTMLUnsafe with an open <style> element pops open elements and applies styles
stream-html-with-declarative-shadow-root.html 49 / 49 passingChrome 49 / 490 failedClean
49 passing subtests
- element.streamHTML (sanitization===remove-shadow-root)
- element.streamHTML (sanitization===remove-internal)
- element.streamHTML (sanitization===none)
- element.streamHTMLUnsafe (sanitization===remove-shadow-root)
- element.streamHTMLUnsafe (sanitization===remove-internal)
- element.streamHTMLUnsafe (sanitization===none)
- element.streamAppendHTML (sanitization===remove-shadow-root)
- element.streamAppendHTML (sanitization===remove-internal)
- element.streamAppendHTML (sanitization===none)
- element.streamAppendHTMLUnsafe (sanitization===remove-shadow-root)
- element.streamAppendHTMLUnsafe (sanitization===remove-internal)
- element.streamAppendHTMLUnsafe (sanitization===none)
- element.streamPrependHTML (sanitization===remove-shadow-root)
- element.streamPrependHTML (sanitization===remove-internal)
- element.streamPrependHTML (sanitization===none)
- element.streamPrependHTMLUnsafe (sanitization===remove-shadow-root)
- element.streamPrependHTMLUnsafe (sanitization===remove-internal)
- element.streamPrependHTMLUnsafe (sanitization===none)
- element.streamBeforeHTML (sanitization===remove-shadow-root)
- element.streamBeforeHTML (sanitization===remove-internal)
- element.streamBeforeHTML (sanitization===none)
- element.streamBeforeHTMLUnsafe (sanitization===remove-shadow-root)
- element.streamBeforeHTMLUnsafe (sanitization===remove-internal)
- element.streamBeforeHTMLUnsafe (sanitization===none)
- element.streamAfterHTML (sanitization===remove-shadow-root)
- element.streamAfterHTML (sanitization===remove-internal)
- element.streamAfterHTML (sanitization===none)
- element.streamAfterHTMLUnsafe (sanitization===remove-shadow-root)
- element.streamAfterHTMLUnsafe (sanitization===remove-internal)
- element.streamAfterHTMLUnsafe (sanitization===none)
- element.streamReplaceWithHTML (sanitization===remove-shadow-root)
- element.streamReplaceWithHTML (sanitization===remove-internal)
- element.streamReplaceWithHTML (sanitization===none)
- element.streamReplaceWithHTMLUnsafe (sanitization===remove-shadow-root)
- element.streamReplaceWithHTMLUnsafe (sanitization===remove-internal)
- element.streamReplaceWithHTMLUnsafe (sanitization===none)
- streamHTMLUnsafe does not enable declarative shadow roots for subsequent innerHTML or document.write()
- streamHTML: a top-level <template shadowrootmode> is inserted as a plain template
- streamHTMLUnsafe: a top-level <template shadowrootmode> is inserted as a plain template
- streamAppendHTML: a top-level <template shadowrootmode> is inserted as a plain template
- streamAppendHTMLUnsafe: a top-level <template shadowrootmode> is inserted as a plain template
- streamPrependHTML: a top-level <template shadowrootmode> is inserted as a plain template
- streamPrependHTMLUnsafe: a top-level <template shadowrootmode> is inserted as a plain template
- streamBeforeHTML: a top-level <template shadowrootmode> is inserted as a plain template
- streamBeforeHTMLUnsafe: a top-level <template shadowrootmode> is inserted as a plain template
- streamAfterHTML: a top-level <template shadowrootmode> is inserted as a plain template
- streamAfterHTMLUnsafe: a top-level <template shadowrootmode> is inserted as a plain template
- streamReplaceWithHTML: a top-level <template shadowrootmode> is inserted as a plain template
- streamReplaceWithHTMLUnsafe: a top-level <template shadowrootmode> is inserted as a plain template
stream-html-with-trusted-types-createParserOptions-order.html 19 / 19 passingChrome 19 / 190 failedClean
19 passing subtests
- streamHTMLUnsafe checks createParserOptions before clearing children
- streamBeforeHTMLUnsafe checks createParserOptions before hierarchy checks
- streamAfterHTMLUnsafe checks createParserOptions before hierarchy checks
- streamReplaceWithHTMLUnsafe checks createParserOptions before hierarchy checks
- streamAppendHTMLUnsafe checks createParserOptions before hierarchy checks
- streamPrependHTMLUnsafe checks createParserOptions before hierarchy checks
- CharacterData.streamBeforeHTMLUnsafe checks createParserOptions before hierarchy checks
- CharacterData.streamAfterHTMLUnsafe checks createParserOptions before hierarchy checks
- CharacterData.streamReplaceWithHTMLUnsafe checks createParserOptions before hierarchy checks
- ShadowRoot.streamHTMLUnsafe passes ShadowRoot sink name to createParserOptions
- ShadowRoot.streamAppendHTMLUnsafe passes ShadowRoot sink name to createParserOptions
- ShadowRoot.streamPrependHTMLUnsafe passes ShadowRoot sink name to createParserOptions
- streamBeforeHTMLUnsafe evaluates parent after createParserOptions detaches target
- streamAfterHTMLUnsafe evaluates parent after createParserOptions detaches target
- streamReplaceWithHTMLUnsafe evaluates parent after createParserOptions detaches target
- streamAfterHTMLUnsafe captures nextSibling after createParserOptions runs
- streamReplaceWithHTMLUnsafe captures nextSibling after createParserOptions runs
- Element.streamPrependHTMLUnsafe captures firstChild after createParserOptions runs
- ShadowRoot.streamPrependHTMLUnsafe captures firstChild after createParserOptions runs
stream-html-with-trusted-types-error-in-policy.html 13 / 13 passingChrome 13 / 130 failedClean
13 passing subtests
- error in createParserOptions is rethrown from default policy for streamHTMLUnsafe
- error in createParserOptions is rethrown from default policy for streamAppendHTMLUnsafe
- error in createParserOptions is rethrown from default policy for streamPrependHTMLUnsafe
- error in createParserOptions is rethrown from default policy for streamBeforeHTMLUnsafe
- error in createParserOptions is rethrown from default policy for streamAfterHTMLUnsafe
- error in createParserOptions is rethrown from default policy for streamReplaceWithHTMLUnsafe
- error in createParserOptions is rethrown from default policy for ShadowRoot.streamHTMLUnsafe
- error in createParserOptions is rethrown from default policy for ShadowRoot.streamAppendHTMLUnsafe
- error in createParserOptions is rethrown from default policy for ShadowRoot.streamPrependHTMLUnsafe
- error in createParserOptions is rethrown from default policy for CharacterData.streamBeforeHTMLUnsafe
- error in createParserOptions is rethrown from default policy for CharacterData.streamAfterHTMLUnsafe
- error in createParserOptions is rethrown from default policy for CharacterData.streamReplaceWithHTMLUnsafe
- error in createParserOptions is rethrown from named policy
stream-html-with-trusted-types-no-createParserOptions.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Streaming with trusted types and a default policy without createParserOptions does not throw for streamHTML.
- Streaming with trusted types and a default policy without createParserOptions throws for streamHTMLUnsafe.
- Streaming with trusted types and a default policy without createParserOptions does not throw for streamAppendHTML.
- Streaming with trusted types and a default policy without createParserOptions throws for streamAppendHTMLUnsafe.
- Streaming with trusted types and a default policy without createParserOptions does not throw for streamPrependHTML.
- Streaming with trusted types and a default policy without createParserOptions throws for streamPrependHTMLUnsafe.
- Streaming with trusted types and a default policy without createParserOptions does not throw for streamBeforeHTML.
- Streaming with trusted types and a default policy without createParserOptions throws for streamBeforeHTMLUnsafe.
- Streaming with trusted types and a default policy without createParserOptions does not throw for streamAfterHTML.
- Streaming with trusted types and a default policy without createParserOptions throws for streamAfterHTMLUnsafe.
- Streaming with trusted types and a default policy without createParserOptions does not throw for streamReplaceWithHTML.
- Streaming with trusted types and a default policy without createParserOptions throws for streamReplaceWithHTMLUnsafe.
stream-html-with-trusted-types-pass-trusted.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- A given TrustedHTMLParserOptions can override default policy's runScript/safety for streamHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScript/safety for streamAppendHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScript/safety for streamPrependHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScript/safety for streamBeforeHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScript/safety for streamAfterHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScript/safety for streamReplaceWithHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's sanitizer for streamHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's sanitizer for streamAppendHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's sanitizer for streamPrependHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's sanitizer for streamBeforeHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's sanitizer for streamAfterHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's sanitizer for streamReplaceWithHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScripts for ShadowRoot.streamHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScripts for ShadowRoot.streamAppendHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScripts for ShadowRoot.streamPrependHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScripts for CharacterData.streamBeforeHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScripts for CharacterData.streamAfterHTMLUnsafe
- A given TrustedHTMLParserOptions can override default policy's runScripts for CharacterData.streamReplaceWithHTMLUnsafe
stream-html-with-trusted-types-report-only.html 24 / 24 passingChrome 24 / 240 failedClean
24 passing subtests
- Element.streamHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Element streamHTMLUnsafe"
- Element.streamHTML in report-only mode does not report a Trusted Types violation
- ShadowRoot.streamHTMLUnsafe in report-only mode returns a WritableStream and reports sink "ShadowRoot streamHTMLUnsafe"
- ShadowRoot.streamHTML in report-only mode does not report a Trusted Types violation
- Element.streamAppendHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Element streamAppendHTMLUnsafe"
- Element.streamAppendHTML in report-only mode does not report a Trusted Types violation
- ShadowRoot.streamAppendHTMLUnsafe in report-only mode returns a WritableStream and reports sink "ShadowRoot streamAppendHTMLUnsafe"
- ShadowRoot.streamAppendHTML in report-only mode does not report a Trusted Types violation
- Element.streamPrependHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Element streamPrependHTMLUnsafe"
- Element.streamPrependHTML in report-only mode does not report a Trusted Types violation
- ShadowRoot.streamPrependHTMLUnsafe in report-only mode returns a WritableStream and reports sink "ShadowRoot streamPrependHTMLUnsafe"
- ShadowRoot.streamPrependHTML in report-only mode does not report a Trusted Types violation
- Element.streamBeforeHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Node streamBeforeHTMLUnsafe"
- Element.streamBeforeHTML in report-only mode does not report a Trusted Types violation
- Text.streamBeforeHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Node streamBeforeHTMLUnsafe"
- Text.streamBeforeHTML in report-only mode does not report a Trusted Types violation
- Element.streamAfterHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Node streamAfterHTMLUnsafe"
- Element.streamAfterHTML in report-only mode does not report a Trusted Types violation
- Text.streamAfterHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Node streamAfterHTMLUnsafe"
- Text.streamAfterHTML in report-only mode does not report a Trusted Types violation
- Element.streamReplaceWithHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Node streamReplaceWithHTMLUnsafe"
- Element.streamReplaceWithHTML in report-only mode does not report a Trusted Types violation
- Text.streamReplaceWithHTMLUnsafe in report-only mode returns a WritableStream and reports sink "Node streamReplaceWithHTMLUnsafe"
- Text.streamReplaceWithHTML in report-only mode does not report a Trusted Types violation
stream-html-with-trusted-types-reporting.html 24 / 24 passingChrome 24 / 240 failedClean
24 passing subtests
- Element.streamHTMLUnsafe reports a Trusted Types violation with sink "Element streamHTMLUnsafe"
- Element.streamHTML does not report a Trusted Types violation
- ShadowRoot.streamHTMLUnsafe reports a Trusted Types violation with sink "ShadowRoot streamHTMLUnsafe"
- ShadowRoot.streamHTML does not report a Trusted Types violation
- Element.streamAppendHTMLUnsafe reports a Trusted Types violation with sink "Element streamAppendHTMLUnsafe"
- Element.streamAppendHTML does not report a Trusted Types violation
- ShadowRoot.streamAppendHTMLUnsafe reports a Trusted Types violation with sink "ShadowRoot streamAppendHTMLUnsafe"
- ShadowRoot.streamAppendHTML does not report a Trusted Types violation
- Element.streamPrependHTMLUnsafe reports a Trusted Types violation with sink "Element streamPrependHTMLUnsafe"
- Element.streamPrependHTML does not report a Trusted Types violation
- ShadowRoot.streamPrependHTMLUnsafe reports a Trusted Types violation with sink "ShadowRoot streamPrependHTMLUnsafe"
- ShadowRoot.streamPrependHTML does not report a Trusted Types violation
- Element.streamBeforeHTMLUnsafe reports a Trusted Types violation with sink "Node streamBeforeHTMLUnsafe"
- Element.streamBeforeHTML does not report a Trusted Types violation
- Text.streamBeforeHTMLUnsafe reports a Trusted Types violation with sink "Node streamBeforeHTMLUnsafe"
- Text.streamBeforeHTML does not report a Trusted Types violation
- Element.streamAfterHTMLUnsafe reports a Trusted Types violation with sink "Node streamAfterHTMLUnsafe"
- Element.streamAfterHTML does not report a Trusted Types violation
- Text.streamAfterHTMLUnsafe reports a Trusted Types violation with sink "Node streamAfterHTMLUnsafe"
- Text.streamAfterHTML does not report a Trusted Types violation
- Element.streamReplaceWithHTMLUnsafe reports a Trusted Types violation with sink "Node streamReplaceWithHTMLUnsafe"
- Element.streamReplaceWithHTML does not report a Trusted Types violation
- Text.streamReplaceWithHTMLUnsafe reports a Trusted Types violation with sink "Node streamReplaceWithHTMLUnsafe"
- Text.streamReplaceWithHTML does not report a Trusted Types violation
stream-html-with-trusted-types-runScripts-can-be-turned-on.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- The default TT policy can turn runScripts on if they are off in the options for streamHTMLUnsafe
- The default TT policy can turn runScripts on if they are off in the options for streamAppendHTMLUnsafe
- The default TT policy can turn runScripts on if they are off in the options for streamPrependHTMLUnsafe
- The default TT policy can turn runScripts on if they are off in the options for streamBeforeHTMLUnsafe
- The default TT policy can turn runScripts on if they are off in the options for streamAfterHTMLUnsafe
- The default TT policy can turn runScripts on if they are off in the options for streamReplaceWithHTMLUnsafe
stream-html-with-trusted-types-runScripts-off.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- The default TT policy can turn runScripts off for streamHTMLUnsafe
- The default TT policy can turn runScripts off for streamAppendHTMLUnsafe
- The default TT policy can turn runScripts off for streamPrependHTMLUnsafe
- The default TT policy can turn runScripts off for streamBeforeHTMLUnsafe
- The default TT policy can turn runScripts off for streamAfterHTMLUnsafe
- The default TT policy can turn runScripts off for streamReplaceWithHTMLUnsafe
- The default TT policy can turn runScripts off for ShadowRoot.streamHTMLUnsafe
- The default TT policy can turn runScripts off for ShadowRoot.streamAppendHTMLUnsafe
- The default TT policy can turn runScripts off for ShadowRoot.streamPrependHTMLUnsafe
- The default TT policy can turn runScripts off for CharacterData.streamBeforeHTMLUnsafe
- The default TT policy can turn runScripts off for CharacterData.streamAfterHTMLUnsafe
- The default TT policy can turn runScripts off for CharacterData.streamReplaceWithHTMLUnsafe
stream-html-with-trusted-types-sanitizer.html 24 / 24 passingChrome 24 / 240 failedClean
24 passing subtests
- createParserOptions can inject a sanitizer config for streamHTMLUnsafe
- createParserOptions can inject a sanitizer config for streamAppendHTMLUnsafe
- createParserOptions can inject a sanitizer config for streamPrependHTMLUnsafe
- createParserOptions can inject a sanitizer config for streamBeforeHTMLUnsafe
- createParserOptions can inject a sanitizer config for streamAfterHTMLUnsafe
- createParserOptions can inject a sanitizer config for streamReplaceWithHTMLUnsafe
- createParserOptions can inject a sanitizer for streamHTMLUnsafe
- createParserOptions can inject a sanitizer for streamAppendHTMLUnsafe
- createParserOptions can inject a sanitizer for streamPrependHTMLUnsafe
- createParserOptions can inject a sanitizer for streamBeforeHTMLUnsafe
- createParserOptions can inject a sanitizer for streamAfterHTMLUnsafe
- createParserOptions can inject a sanitizer for streamReplaceWithHTMLUnsafe
- createParserOptions can override a sanitizer config for streamHTMLUnsafe
- createParserOptions can override a sanitizer config for streamAppendHTMLUnsafe
- createParserOptions can override a sanitizer config for streamPrependHTMLUnsafe
- createParserOptions can override a sanitizer config for streamBeforeHTMLUnsafe
- createParserOptions can override a sanitizer config for streamAfterHTMLUnsafe
- createParserOptions can override a sanitizer config for streamReplaceWithHTMLUnsafe
- createParserOptions can remove a sanitizer for streamHTMLUnsafe
- createParserOptions can remove a sanitizer for streamAppendHTMLUnsafe
- createParserOptions can remove a sanitizer for streamPrependHTMLUnsafe
- createParserOptions can remove a sanitizer for streamBeforeHTMLUnsafe
- createParserOptions can remove a sanitizer for streamAfterHTMLUnsafe
- createParserOptions can remove a sanitizer for streamReplaceWithHTMLUnsafe
stream-html.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- piping a response into streamHTML()
- writing a string to streamHTML()
- streamHTML() should remove existing content immediately
- streamHTML() does not buffer until close()
- writing a Symbol to streamHTML()
- writing numbers to streamHTML()
- writing a Uint8Array to streamHTML() stringifies it instead of decoding bytes
- writing null or undefined to streamHTML()
- streamHTML() can stream into <style>
- Aborting streamHTML()
- Interleaved streamHTML() writes
- streamHTML should not execute scripts when connected
- streamHTML should pass sanitizer options
- streamHTML uses safe sanitizer
- streamHTML on ShadowRoot
- streamHTML on ShadowRoot uses safe sanitizer
- streamHTML on a template replaces its template contents
- Aborting streamHTML with an open <style> element pops open elements and applies styles
stream-insertion-logic.html 153 / 153 passingChrome 104 / 1530 failedClean
153 passing subtests
- streamAppendHTML without a ref node
- streamPrependHTML without a ref node
- streamBeforeHTML with a ref_node at end
- streamBeforeHTML with a ref_node in the middle
- streamReplaceWithHTML with a ref_node at end
- streamReplaceWithHTML with a ref_node in the middle
- streamAfterHTML with a ref_node at end
- streamAfterHTML with a ref_node in the middle
- streamBeforeHTML with a ref_node at start
- streamBeforeHTML with a comment ref_node
- streamBeforeHTML with a text ref_node
- streamBeforeHTML in a ShadowRoot
- streamReplaceWithHTML with a ref_node at start
- streamReplaceWithHTML with a comment ref_node
- streamReplaceWithHTML with a text ref_node
- streamReplaceWithHTML in a ShadowRoot
- streamPrependHTML with a ref_node at start
- streamPrependHTML with a comment ref_node
- streamPrependHTML with a text ref_node
- streamPrependHTML in a ShadowRoot
- streamBeforeHTML should reject if ref node is removed
- streamBeforeHTML should reject if ref node is no longer child of the same parent
- streamBeforeHTML in a ShadowRoot should reject if ref node is removed
- streamBeforeHTML: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamReplaceWithHTML should reject if ref node is removed
- streamReplaceWithHTML should reject if ref node is no longer child of the same parent
- streamReplaceWithHTML in a ShadowRoot should reject if ref node is removed
- streamReplaceWithHTML: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamPrependHTML should reject if ref node is removed
- streamPrependHTML should reject if ref node is no longer child of the same parent
- streamPrependHTML in a ShadowRoot should reject if ref node is removed
- streamPrependHTML: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamAfterHTML should reject if ref node is removed
- streamAfterHTML should reject if ref node is no longer child of the same parent
- streamAfterHTML in a ShadowRoot should reject if ref node is removed
- streamAfterHTML: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamAppendHTMLUnsafe without a ref node
- streamPrependHTMLUnsafe without a ref node
- streamBeforeHTMLUnsafe with a ref_node at end
- streamBeforeHTMLUnsafe with a ref_node in the middle
- streamReplaceWithHTMLUnsafe with a ref_node at end
- streamReplaceWithHTMLUnsafe with a ref_node in the middle
- streamAfterHTMLUnsafe with a ref_node at end
- streamAfterHTMLUnsafe with a ref_node in the middle
- streamBeforeHTMLUnsafe with a ref_node at start
- streamBeforeHTMLUnsafe with a comment ref_node
- streamBeforeHTMLUnsafe with a text ref_node
- streamBeforeHTMLUnsafe in a ShadowRoot
- streamReplaceWithHTMLUnsafe with a ref_node at start
- streamReplaceWithHTMLUnsafe with a comment ref_node
- streamReplaceWithHTMLUnsafe with a text ref_node
- streamReplaceWithHTMLUnsafe in a ShadowRoot
- streamPrependHTMLUnsafe with a ref_node at start
- streamPrependHTMLUnsafe with a comment ref_node
- streamPrependHTMLUnsafe with a text ref_node
- streamPrependHTMLUnsafe in a ShadowRoot
- streamBeforeHTMLUnsafe should reject if ref node is removed
- streamBeforeHTMLUnsafe should reject if ref node is no longer child of the same parent
- streamBeforeHTMLUnsafe in a ShadowRoot should reject if ref node is removed
- streamBeforeHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamReplaceWithHTMLUnsafe should reject if ref node is removed
- streamReplaceWithHTMLUnsafe should reject if ref node is no longer child of the same parent
- streamReplaceWithHTMLUnsafe in a ShadowRoot should reject if ref node is removed
- streamReplaceWithHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamPrependHTMLUnsafe should reject if ref node is removed
- streamPrependHTMLUnsafe should reject if ref node is no longer child of the same parent
- streamPrependHTMLUnsafe in a ShadowRoot should reject if ref node is removed
- streamPrependHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamAfterHTMLUnsafe should reject if ref node is removed
- streamAfterHTMLUnsafe should reject if ref node is no longer child of the same parent
- streamAfterHTMLUnsafe in a ShadowRoot should reject if ref node is removed
- streamAfterHTMLUnsafe: chunk toString() removing ref_node rejects with HierarchyRequestError
- streamBeforeHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream
- streamBeforeHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream
- streamBeforeHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction
- streamBeforeHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry
- streamBeforeHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document
- streamBeforeHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document
- streamBeforeHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream
- streamBeforeHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream
- streamBeforeHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>
- streamBeforeHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped
- streamBeforeHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped
- streamBeforeHTMLUnsafe: close() after ref_node displacement with no further write resolves
- streamBeforeHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream
- streamBeforeHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue
- streamBeforeHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved
- streamBeforeHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced
- streamReplaceWithHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream
- streamReplaceWithHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream
- streamReplaceWithHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction
- streamReplaceWithHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry
- streamReplaceWithHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document
- streamReplaceWithHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document
- streamReplaceWithHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream
- streamReplaceWithHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream
- streamReplaceWithHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>
- streamReplaceWithHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped
- streamReplaceWithHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped
- streamReplaceWithHTMLUnsafe: close() after ref_node displacement with no further write resolves
- streamReplaceWithHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream
- streamReplaceWithHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue
- streamReplaceWithHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved
- streamReplaceWithHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced
- streamPrependHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream
- streamPrependHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream
- streamPrependHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction
- streamPrependHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry
- streamPrependHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document
- streamPrependHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document
- streamPrependHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream
- streamPrependHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream
- streamPrependHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>
- streamPrependHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped
- streamPrependHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped
- streamPrependHTMLUnsafe: close() after ref_node displacement with no further write resolves
- streamPrependHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream
- streamPrependHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue
- streamPrependHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved
- streamPrependHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced
- streamAfterHTMLUnsafe: displacing ref_node mid-chunk drops subsequent nodes/subtrees/text/comments and errors the stream
- streamAfterHTMLUnsafe: displacing ref_node mid-chunk with sanitizer and replaceWithChildrenElements drops nodes and errors the stream
- streamAfterHTMLUnsafe: displacing ref_node mid-chunk before a removeElements subtree errors the stream and suppresses custom element construction
- streamAfterHTMLUnsafe: custom element as first token after ref_node displacement is created in an inert document with null custom element registry
- streamAfterHTMLUnsafe: <img> as first token after ref_node displacement is created in an inert document
- streamAfterHTMLUnsafe: child of replaceWithChildrenElements as first token after ref_node displacement is created in an inert document
- streamAfterHTMLUnsafe: adoption agency at the root after ref_node displacement keeps existing nodes and errors the stream
- streamAfterHTMLUnsafe: <template for> after ref_node displacement does not apply and errors the stream
- streamAfterHTMLUnsafe: ref_node displacement during table-text foster parenting errors the stream without applying <template for>
- streamAfterHTMLUnsafe: whitespace as the only token after mid-chunk displacement errors the stream and is dropped
- streamAfterHTMLUnsafe: a comment as the only token after mid-chunk displacement errors the stream and is dropped
- streamAfterHTMLUnsafe: close() after ref_node displacement with no further write resolves
- streamAfterHTMLUnsafe: moving ref_node back into parent after mid-chunk displacement does not recover the errored stream
- streamAfterHTMLUnsafe: moving ref_node back into parent before next write when no node was inserted after displacement allows stream to continue
- streamAfterHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved
- streamAfterHTMLUnsafe: displaced foster-parenting table for a replaceWithChildrenElements element does not error the stream even while ref_node is temporarily displaced
- streamAppendHTMLUnsafe: children of a replaceWithChildrenElements element are dropped, without erroring the stream, when the table it was foster parented before is moved
- streamHTMLUnsafe: a replaceWithChildrenElements element foster parented before a table that became the document element is dropped with its children
- streamHTMLUnsafe: disconnecting target mid-stream continues inserting nodes into target without running scripts
- streamAppendHTMLUnsafe: disconnecting target mid-stream continues inserting nodes into target without running scripts
- streamPrependHTMLUnsafe: disconnecting target mid-stream continues inserting nodes into target without running scripts
- streamPrependHTML on an empty target appends after children added later by other means
- streamPrependHTML inserts before the first child at call time, not the current first child
- streamAfterHTML on a last child appends after children added later by other means
- streamReplaceWithHTML on a last child appends after children added later by other means
- streamPrependHTMLUnsafe on an empty target appends after children added later by other means
- streamPrependHTMLUnsafe inserts before the first child at call time, not the current first child
- streamAfterHTMLUnsafe on a last child appends after children added later by other means
- streamReplaceWithHTMLUnsafe on a last child appends after children added later by other means
- streamHTMLUnsafe: adopting the target into another document mid-stream continues inserting nodes without running scripts
- streamAppendHTMLUnsafe: adopting the target into another document mid-stream continues inserting nodes without running scripts
- streamPrependHTMLUnsafe: adopting the target into another document mid-stream continues inserting nodes without running scripts
- Cross-realm streamBeforeHTMLUnsafe creates WritableStream and HierarchyRequestError in this's relevant realm
stream-positional-template-child.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- streamAfterHTML on a child of a template content
- streamAfterHTML on a direct child of a template element throws HierarchyRequestError
- streamBeforeHTML on a child of a template content
- streamBeforeHTML on a direct child of a template element throws HierarchyRequestError
- streamReplaceWithHTML on a child of a template content
- streamReplaceWithHTML on a direct child of a template element throws HierarchyRequestError
- streamAfterHTMLUnsafe on a child of a template content
- streamAfterHTMLUnsafe on a direct child of a template element throws HierarchyRequestError
- streamBeforeHTMLUnsafe on a child of a template content
- streamBeforeHTMLUnsafe on a direct child of a template element throws HierarchyRequestError
- streamReplaceWithHTMLUnsafe on a child of a template content
- streamReplaceWithHTMLUnsafe on a direct child of a template element throws HierarchyRequestError
stream-positional.html 142 / 142 passingChrome 142 / 1420 failedClean
142 passing subtests
- streamAppendHTML({}) with A and B
- streamAppendHTML({}) with A and <p>B</p>
- streamAppendHTML({}) with <p>A</p> and B
- streamAppendHTML({}) with <p>A</p> and <p>B</p>
- streamPrependHTML({}) with A and B
- streamPrependHTML({}) with A and <p>B</p>
- streamPrependHTML({}) with <p>A</p> and B
- streamPrependHTML({}) with <p>A</p> and <p>B</p>
- streamReplaceWithHTML({}) with A and B
- streamReplaceWithHTML({}) with A and <p>B</p>
- streamReplaceWithHTML({}) with <p>A</p> and B
- streamReplaceWithHTML({}) with <p>A</p> and <p>B</p>
- streamBeforeHTML({}) with A and B
- streamBeforeHTML({}) with A and <p>B</p>
- streamBeforeHTML({}) with <p>A</p> and B
- streamBeforeHTML({}) with <p>A</p> and <p>B</p>
- streamAfterHTML({}) with A and B
- streamAfterHTML({}) with A and <p>B</p>
- streamAfterHTML({}) with <p>A</p> and B
- streamAfterHTML({}) with <p>A</p> and <p>B</p>
- streamAfterHTML({"runScripts":true}) should not run scripts
- streamBeforeHTML({"runScripts":true}) should not run scripts
- streamReplaceWithHTML({"runScripts":true}) should not run scripts
- streamAppendHTML({"runScripts":true}) should not run scripts
- streamPrependHTML({"runScripts":true}) should not run scripts
- streamAfterHTML({"runScripts":false}) should not run scripts
- streamBeforeHTML({"runScripts":false}) should not run scripts
- streamReplaceWithHTML({"runScripts":false}) should not run scripts
- streamAppendHTML({"runScripts":false}) should not run scripts
- streamPrependHTML({"runScripts":false}) should not run scripts
- streamAfterHTML throw if node has no parent
- streamAfterHTML on detached Text node throw if node has no parent
- streamAfterHTML throw if parent is a Document
- streamAfterHTML throw if parent is a DocumentFragment
- streamAfterHTML throws HierarchyRequestError before validating the sanitizer config
- streamAfterHTML is not exposed on DocumentType
- streamBeforeHTML throw if node has no parent
- streamBeforeHTML on detached Text node throw if node has no parent
- streamBeforeHTML throw if parent is a Document
- streamBeforeHTML throw if parent is a DocumentFragment
- streamBeforeHTML throws HierarchyRequestError before validating the sanitizer config
- streamBeforeHTML is not exposed on DocumentType
- streamReplaceWithHTML throw if node has no parent
- streamReplaceWithHTML on detached Text node throw if node has no parent
- streamReplaceWithHTML throw if parent is a Document
- streamReplaceWithHTML throw if parent is a DocumentFragment
- streamReplaceWithHTML throws HierarchyRequestError before validating the sanitizer config
- streamReplaceWithHTML is not exposed on DocumentType
- streamHTML is not exposed on Document or DocumentFragment
- streamAppendHTML is not exposed on Document or DocumentFragment
- streamPrependHTML is not exposed on Document or DocumentFragment
- streamBeforeHTML is not exposed on Document or DocumentFragment
- streamAfterHTML is not exposed on Document or DocumentFragment
- streamReplaceWithHTML is not exposed on Document or DocumentFragment
- streamHTML returns a [NewObject] WritableStream on Element and ShadowRoot
- streamAppendHTML returns a [NewObject] WritableStream on Element and ShadowRoot
- streamPrependHTML returns a [NewObject] WritableStream on Element and ShadowRoot
- streamBeforeHTML returns a [NewObject] WritableStream on Element and CharacterData
- streamAfterHTML returns a [NewObject] WritableStream on Element and CharacterData
- streamReplaceWithHTML returns a [NewObject] WritableStream on Element and CharacterData
- streamBeforeHTML works on Comment
- streamAfterHTML works on Comment
- streamReplaceWithHTML works on Comment
- streamBeforeHTML works on ProcessingInstruction
- streamAfterHTML works on ProcessingInstruction
- streamReplaceWithHTML works on ProcessingInstruction
- streamAppendHTMLUnsafe({}) with A and B
- streamAppendHTMLUnsafe({}) with A and <p>B</p>
- streamAppendHTMLUnsafe({}) with <p>A</p> and B
- streamAppendHTMLUnsafe({}) with <p>A</p> and <p>B</p>
- streamPrependHTMLUnsafe({}) with A and B
- streamPrependHTMLUnsafe({}) with A and <p>B</p>
- streamPrependHTMLUnsafe({}) with <p>A</p> and B
- streamPrependHTMLUnsafe({}) with <p>A</p> and <p>B</p>
- streamReplaceWithHTMLUnsafe({}) with A and B
- streamReplaceWithHTMLUnsafe({}) with A and <p>B</p>
- streamReplaceWithHTMLUnsafe({}) with <p>A</p> and B
- streamReplaceWithHTMLUnsafe({}) with <p>A</p> and <p>B</p>
- streamBeforeHTMLUnsafe({}) with A and B
- streamBeforeHTMLUnsafe({}) with A and <p>B</p>
- streamBeforeHTMLUnsafe({}) with <p>A</p> and B
- streamBeforeHTMLUnsafe({}) with <p>A</p> and <p>B</p>
- streamAfterHTMLUnsafe({}) with A and B
- streamAfterHTMLUnsafe({}) with A and <p>B</p>
- streamAfterHTMLUnsafe({}) with <p>A</p> and B
- streamAfterHTMLUnsafe({}) with <p>A</p> and <p>B</p>
- streamAfterHTMLUnsafe({"runScripts":true}) should run scripts
- streamBeforeHTMLUnsafe({"runScripts":true}) should run scripts
- streamReplaceWithHTMLUnsafe({"runScripts":true}) should run scripts
- streamAppendHTMLUnsafe({"runScripts":true}) should run scripts
- streamPrependHTMLUnsafe({"runScripts":true}) should run scripts
- streamAfterHTMLUnsafe({"runScripts":false}) should not run scripts
- streamBeforeHTMLUnsafe({"runScripts":false}) should not run scripts
- streamReplaceWithHTMLUnsafe({"runScripts":false}) should not run scripts
- streamAppendHTMLUnsafe({"runScripts":false}) should not run scripts
- streamPrependHTMLUnsafe({"runScripts":false}) should not run scripts
- streamAfterHTMLUnsafe throw if node has no parent
- streamAfterHTMLUnsafe on detached Text node throw if node has no parent
- streamAfterHTMLUnsafe throw if parent is a Document
- streamAfterHTMLUnsafe throw if parent is a DocumentFragment
- streamAfterHTMLUnsafe throws HierarchyRequestError before validating the sanitizer config
- streamAfterHTMLUnsafe is not exposed on DocumentType
- streamBeforeHTMLUnsafe throw if node has no parent
- streamBeforeHTMLUnsafe on detached Text node throw if node has no parent
- streamBeforeHTMLUnsafe throw if parent is a Document
- streamBeforeHTMLUnsafe throw if parent is a DocumentFragment
- streamBeforeHTMLUnsafe throws HierarchyRequestError before validating the sanitizer config
- streamBeforeHTMLUnsafe is not exposed on DocumentType
- streamReplaceWithHTMLUnsafe throw if node has no parent
- streamReplaceWithHTMLUnsafe on detached Text node throw if node has no parent
- streamReplaceWithHTMLUnsafe throw if parent is a Document
- streamReplaceWithHTMLUnsafe throw if parent is a DocumentFragment
- streamReplaceWithHTMLUnsafe throws HierarchyRequestError before validating the sanitizer config
- streamReplaceWithHTMLUnsafe is not exposed on DocumentType
- streamHTMLUnsafe is not exposed on Document or DocumentFragment
- streamAppendHTMLUnsafe is not exposed on Document or DocumentFragment
- streamPrependHTMLUnsafe is not exposed on Document or DocumentFragment
- streamBeforeHTMLUnsafe is not exposed on Document or DocumentFragment
- streamAfterHTMLUnsafe is not exposed on Document or DocumentFragment
- streamReplaceWithHTMLUnsafe is not exposed on Document or DocumentFragment
- streamHTMLUnsafe returns a [NewObject] WritableStream on Element and ShadowRoot
- streamAppendHTMLUnsafe returns a [NewObject] WritableStream on Element and ShadowRoot
- streamPrependHTMLUnsafe returns a [NewObject] WritableStream on Element and ShadowRoot
- streamBeforeHTMLUnsafe returns a [NewObject] WritableStream on Element and CharacterData
- streamAfterHTMLUnsafe returns a [NewObject] WritableStream on Element and CharacterData
- streamReplaceWithHTMLUnsafe returns a [NewObject] WritableStream on Element and CharacterData
- streamBeforeHTMLUnsafe works on Comment
- streamAfterHTMLUnsafe works on Comment
- streamReplaceWithHTMLUnsafe works on Comment
- streamBeforeHTMLUnsafe works on ProcessingInstruction
- streamAfterHTMLUnsafe works on ProcessingInstruction
- streamReplaceWithHTMLUnsafe works on ProcessingInstruction
- streamAppendHTML on HTMLTemplateElement appends to content
- streamPrependHTML on HTMLTemplateElement prepends to content
- streamBeforeHTML on child of HTMLTemplateElement content streams before child
- streamAfterHTML on child of HTMLTemplateElement content streams after child
- streamReplaceWithHTML on child of HTMLTemplateElement content replaces child
- streamAppendHTMLUnsafe on HTMLTemplateElement appends to content
- streamPrependHTMLUnsafe on HTMLTemplateElement prepends to content
- streamBeforeHTMLUnsafe on child of HTMLTemplateElement content streams before child
- streamAfterHTMLUnsafe on child of HTMLTemplateElement content streams after child
- streamReplaceWithHTMLUnsafe on child of HTMLTemplateElement content replaces child
stream-sanitizer-customized-builtins.html 30 / 30 passingChrome 30 / 300 failedClean
30 passing subtests
- streamHTML prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamHTML prevents customized built-in construction when is is sanitized (attributes without is)
- streamAppendHTML prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamAppendHTML prevents customized built-in construction when is is sanitized (attributes without is)
- streamPrependHTML prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamPrependHTML prevents customized built-in construction when is is sanitized (attributes without is)
- streamBeforeHTML prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamBeforeHTML prevents customized built-in construction when is is sanitized (attributes without is)
- streamAfterHTML prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamAfterHTML prevents customized built-in construction when is is sanitized (attributes without is)
- streamReplaceWithHTML prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamReplaceWithHTML prevents customized built-in construction when is is sanitized (attributes without is)
- streamHTMLUnsafe prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamHTMLUnsafe prevents customized built-in construction when is is sanitized (attributes without is)
- streamAppendHTMLUnsafe prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamAppendHTMLUnsafe prevents customized built-in construction when is is sanitized (attributes without is)
- streamPrependHTMLUnsafe prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamPrependHTMLUnsafe prevents customized built-in construction when is is sanitized (attributes without is)
- streamBeforeHTMLUnsafe prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamBeforeHTMLUnsafe prevents customized built-in construction when is is sanitized (attributes without is)
- streamAfterHTMLUnsafe prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamAfterHTMLUnsafe prevents customized built-in construction when is is sanitized (attributes without is)
- streamReplaceWithHTMLUnsafe prevents customized built-in construction when is is sanitized (removeAttributes is)
- streamReplaceWithHTMLUnsafe prevents customized built-in construction when is is sanitized (attributes without is)
- Control: streamHTMLUnsafe invokes customized built-in constructor when is attribute is preserved
- Control: streamAppendHTMLUnsafe invokes customized built-in constructor when is attribute is preserved
- Control: streamPrependHTMLUnsafe invokes customized built-in constructor when is attribute is preserved
- Control: streamBeforeHTMLUnsafe invokes customized built-in constructor when is attribute is preserved
- Control: streamAfterHTMLUnsafe invokes customized built-in constructor when is attribute is preserved
- Control: streamReplaceWithHTMLUnsafe invokes customized built-in constructor when is attribute is preserved
stream-sanitizer-img-ctor.html 78 / 78 passingChrome 78 / 780 failedClean
78 passing subtests
- Sanitizer bypass check for streamHTML with default safe config
- Sanitizer bypass check for streamHTML with removeAttributes onerror
- Sanitizer bypass check for streamHTML with attributes src only
- Sanitizer bypass check for streamHTML with removeElements img
- Sanitizer bypass check for streamHTML with removeElements div with nested img
- Sanitizer bypass check for streamHTML with removeAttributes src
- Sanitizer bypass check for streamAppendHTML with default safe config
- Sanitizer bypass check for streamAppendHTML with removeAttributes onerror
- Sanitizer bypass check for streamAppendHTML with attributes src only
- Sanitizer bypass check for streamAppendHTML with removeElements img
- Sanitizer bypass check for streamAppendHTML with removeElements div with nested img
- Sanitizer bypass check for streamAppendHTML with removeAttributes src
- Sanitizer bypass check for streamPrependHTML with default safe config
- Sanitizer bypass check for streamPrependHTML with removeAttributes onerror
- Sanitizer bypass check for streamPrependHTML with attributes src only
- Sanitizer bypass check for streamPrependHTML with removeElements img
- Sanitizer bypass check for streamPrependHTML with removeElements div with nested img
- Sanitizer bypass check for streamPrependHTML with removeAttributes src
- Sanitizer bypass check for streamBeforeHTML with default safe config
- Sanitizer bypass check for streamBeforeHTML with removeAttributes onerror
- Sanitizer bypass check for streamBeforeHTML with attributes src only
- Sanitizer bypass check for streamBeforeHTML with removeElements img
- Sanitizer bypass check for streamBeforeHTML with removeElements div with nested img
- Sanitizer bypass check for streamBeforeHTML with removeAttributes src
- Sanitizer bypass check for streamAfterHTML with default safe config
- Sanitizer bypass check for streamAfterHTML with removeAttributes onerror
- Sanitizer bypass check for streamAfterHTML with attributes src only
- Sanitizer bypass check for streamAfterHTML with removeElements img
- Sanitizer bypass check for streamAfterHTML with removeElements div with nested img
- Sanitizer bypass check for streamAfterHTML with removeAttributes src
- Sanitizer bypass check for streamReplaceWithHTML with default safe config
- Sanitizer bypass check for streamReplaceWithHTML with removeAttributes onerror
- Sanitizer bypass check for streamReplaceWithHTML with attributes src only
- Sanitizer bypass check for streamReplaceWithHTML with removeElements img
- Sanitizer bypass check for streamReplaceWithHTML with removeElements div with nested img
- Sanitizer bypass check for streamReplaceWithHTML with removeAttributes src
- Sanitizer bypass check for streamHTMLUnsafe with default safe config
- Sanitizer bypass check for streamHTMLUnsafe with removeAttributes onerror
- Sanitizer bypass check for streamHTMLUnsafe with attributes src only
- Sanitizer bypass check for streamHTMLUnsafe with removeElements img
- Sanitizer bypass check for streamHTMLUnsafe with removeElements div with nested img
- Sanitizer bypass check for streamHTMLUnsafe with removeAttributes src
- Sanitizer bypass check for streamAppendHTMLUnsafe with default safe config
- Sanitizer bypass check for streamAppendHTMLUnsafe with removeAttributes onerror
- Sanitizer bypass check for streamAppendHTMLUnsafe with attributes src only
- Sanitizer bypass check for streamAppendHTMLUnsafe with removeElements img
- Sanitizer bypass check for streamAppendHTMLUnsafe with removeElements div with nested img
- Sanitizer bypass check for streamAppendHTMLUnsafe with removeAttributes src
- Sanitizer bypass check for streamPrependHTMLUnsafe with default safe config
- Sanitizer bypass check for streamPrependHTMLUnsafe with removeAttributes onerror
- Sanitizer bypass check for streamPrependHTMLUnsafe with attributes src only
- Sanitizer bypass check for streamPrependHTMLUnsafe with removeElements img
- Sanitizer bypass check for streamPrependHTMLUnsafe with removeElements div with nested img
- Sanitizer bypass check for streamPrependHTMLUnsafe with removeAttributes src
- Sanitizer bypass check for streamBeforeHTMLUnsafe with default safe config
- Sanitizer bypass check for streamBeforeHTMLUnsafe with removeAttributes onerror
- Sanitizer bypass check for streamBeforeHTMLUnsafe with attributes src only
- Sanitizer bypass check for streamBeforeHTMLUnsafe with removeElements img
- Sanitizer bypass check for streamBeforeHTMLUnsafe with removeElements div with nested img
- Sanitizer bypass check for streamBeforeHTMLUnsafe with removeAttributes src
- Sanitizer bypass check for streamAfterHTMLUnsafe with default safe config
- Sanitizer bypass check for streamAfterHTMLUnsafe with removeAttributes onerror
- Sanitizer bypass check for streamAfterHTMLUnsafe with attributes src only
- Sanitizer bypass check for streamAfterHTMLUnsafe with removeElements img
- Sanitizer bypass check for streamAfterHTMLUnsafe with removeElements div with nested img
- Sanitizer bypass check for streamAfterHTMLUnsafe with removeAttributes src
- Sanitizer bypass check for streamReplaceWithHTMLUnsafe with default safe config
- Sanitizer bypass check for streamReplaceWithHTMLUnsafe with removeAttributes onerror
- Sanitizer bypass check for streamReplaceWithHTMLUnsafe with attributes src only
- Sanitizer bypass check for streamReplaceWithHTMLUnsafe with removeElements img
- Sanitizer bypass check for streamReplaceWithHTMLUnsafe with removeElements div with nested img
- Sanitizer bypass check for streamReplaceWithHTMLUnsafe with removeAttributes src
- Control check for streamHTMLUnsafe
- Control check for streamAppendHTMLUnsafe
- Control check for streamPrependHTMLUnsafe
- Control check for streamBeforeHTMLUnsafe
- Control check for streamAfterHTMLUnsafe
- Control check for streamReplaceWithHTMLUnsafe
stream-sanitizer-resource-fetch.html 42 / 42 passingChrome 42 / 420 failedClean
42 passing subtests
- streamHTML prevents server-observable resource fetch when src attribute is sanitized
- streamHTML prevents server-observable resource fetch when <img> is removed by sanitizer
- streamHTML prevents server-observable resource fetch when <img> is inside a removed element
- streamAppendHTML prevents server-observable resource fetch when src attribute is sanitized
- streamAppendHTML prevents server-observable resource fetch when <img> is removed by sanitizer
- streamAppendHTML prevents server-observable resource fetch when <img> is inside a removed element
- streamPrependHTML prevents server-observable resource fetch when src attribute is sanitized
- streamPrependHTML prevents server-observable resource fetch when <img> is removed by sanitizer
- streamPrependHTML prevents server-observable resource fetch when <img> is inside a removed element
- streamBeforeHTML prevents server-observable resource fetch when src attribute is sanitized
- streamBeforeHTML prevents server-observable resource fetch when <img> is removed by sanitizer
- streamBeforeHTML prevents server-observable resource fetch when <img> is inside a removed element
- streamAfterHTML prevents server-observable resource fetch when src attribute is sanitized
- streamAfterHTML prevents server-observable resource fetch when <img> is removed by sanitizer
- streamAfterHTML prevents server-observable resource fetch when <img> is inside a removed element
- streamReplaceWithHTML prevents server-observable resource fetch when src attribute is sanitized
- streamReplaceWithHTML prevents server-observable resource fetch when <img> is removed by sanitizer
- streamReplaceWithHTML prevents server-observable resource fetch when <img> is inside a removed element
- streamHTMLUnsafe prevents server-observable resource fetch when src attribute is sanitized
- streamHTMLUnsafe prevents server-observable resource fetch when <img> is removed by sanitizer
- streamHTMLUnsafe prevents server-observable resource fetch when <img> is inside a removed element
- streamAppendHTMLUnsafe prevents server-observable resource fetch when src attribute is sanitized
- streamAppendHTMLUnsafe prevents server-observable resource fetch when <img> is removed by sanitizer
- streamAppendHTMLUnsafe prevents server-observable resource fetch when <img> is inside a removed element
- streamPrependHTMLUnsafe prevents server-observable resource fetch when src attribute is sanitized
- streamPrependHTMLUnsafe prevents server-observable resource fetch when <img> is removed by sanitizer
- streamPrependHTMLUnsafe prevents server-observable resource fetch when <img> is inside a removed element
- streamBeforeHTMLUnsafe prevents server-observable resource fetch when src attribute is sanitized
- streamBeforeHTMLUnsafe prevents server-observable resource fetch when <img> is removed by sanitizer
- streamBeforeHTMLUnsafe prevents server-observable resource fetch when <img> is inside a removed element
- streamAfterHTMLUnsafe prevents server-observable resource fetch when src attribute is sanitized
- streamAfterHTMLUnsafe prevents server-observable resource fetch when <img> is removed by sanitizer
- streamAfterHTMLUnsafe prevents server-observable resource fetch when <img> is inside a removed element
- streamReplaceWithHTMLUnsafe prevents server-observable resource fetch when src attribute is sanitized
- streamReplaceWithHTMLUnsafe prevents server-observable resource fetch when <img> is removed by sanitizer
- streamReplaceWithHTMLUnsafe prevents server-observable resource fetch when <img> is inside a removed element
- Control: streamHTMLUnsafe initiates resource fetch when src is preserved
- Control: streamAppendHTMLUnsafe initiates resource fetch when src is preserved
- Control: streamPrependHTMLUnsafe initiates resource fetch when src is preserved
- Control: streamBeforeHTMLUnsafe initiates resource fetch when src is preserved
- Control: streamAfterHTMLUnsafe initiates resource fetch when src is preserved
- Control: streamReplaceWithHTMLUnsafe initiates resource fetch when src is preserved
stream-tokenizer-context.html 49 / 49 passingChrome 46 / 490 failedClean
49 passing subtests
- streamHTML on <textarea> initializes tokenizer in RCDATA state (expands char refs, suppresses tags across writes)
- streamHTML on <title> initializes tokenizer in RCDATA state
- streamAppendHTML on <textarea> initializes tokenizer in RCDATA state (expands char refs, suppresses tags across writes)
- streamAppendHTML on <title> initializes tokenizer in RCDATA state
- streamPrependHTML on <textarea> initializes tokenizer in RCDATA state (expands char refs, suppresses tags across writes)
- streamPrependHTML on <title> initializes tokenizer in RCDATA state
- streamHTMLUnsafe on <textarea> initializes tokenizer in RCDATA state (expands char refs, suppresses tags across writes)
- streamHTMLUnsafe on <title> initializes tokenizer in RCDATA state
- streamAppendHTMLUnsafe on <textarea> initializes tokenizer in RCDATA state (expands char refs, suppresses tags across writes)
- streamAppendHTMLUnsafe on <title> initializes tokenizer in RCDATA state
- streamPrependHTMLUnsafe on <textarea> initializes tokenizer in RCDATA state (expands char refs, suppresses tags across writes)
- streamPrependHTMLUnsafe on <title> initializes tokenizer in RCDATA state
- streamHTML on <style> initializes tokenizer in RAWTEXT state (does not expand char refs across writes)
- streamAppendHTML on <style> initializes tokenizer in RAWTEXT state (does not expand char refs across writes)
- streamPrependHTML on <style> initializes tokenizer in RAWTEXT state (does not expand char refs across writes)
- streamHTMLUnsafe on <style> initializes tokenizer in RAWTEXT state (does not expand char refs across writes)
- streamAppendHTMLUnsafe on <style> initializes tokenizer in RAWTEXT state (does not expand char refs across writes)
- streamPrependHTMLUnsafe on <style> initializes tokenizer in RAWTEXT state (does not expand char refs across writes)
- streamHTML on <plaintext> initializes tokenizer in PLAINTEXT state
- streamAppendHTML on <plaintext> initializes tokenizer in PLAINTEXT state
- streamPrependHTML on <plaintext> initializes tokenizer in PLAINTEXT state
- streamHTMLUnsafe on <plaintext> initializes tokenizer in PLAINTEXT state
- streamAppendHTMLUnsafe on <plaintext> initializes tokenizer in PLAINTEXT state
- streamPrependHTMLUnsafe on <plaintext> initializes tokenizer in PLAINTEXT state
- streamHTMLUnsafe on <xmp> initializes tokenizer in RAWTEXT state
- streamAppendHTMLUnsafe on <xmp> initializes tokenizer in RAWTEXT state
- streamPrependHTMLUnsafe on <xmp> initializes tokenizer in RAWTEXT state
- streamHTMLUnsafe on <iframe> initializes tokenizer in RAWTEXT state
- streamAppendHTMLUnsafe on <iframe> initializes tokenizer in RAWTEXT state
- streamPrependHTMLUnsafe on <iframe> initializes tokenizer in RAWTEXT state
- streamHTMLUnsafe on <noembed> initializes tokenizer in RAWTEXT state
- streamAppendHTMLUnsafe on <noembed> initializes tokenizer in RAWTEXT state
- streamPrependHTMLUnsafe on <noembed> initializes tokenizer in RAWTEXT state
- streamHTMLUnsafe on <noframes> initializes tokenizer in RAWTEXT state
- streamAppendHTMLUnsafe on <noframes> initializes tokenizer in RAWTEXT state
- streamPrependHTMLUnsafe on <noframes> initializes tokenizer in RAWTEXT state
- streamHTMLUnsafe on <noscript> with scripting enabled treats input as RAWTEXT
- streamAppendHTMLUnsafe on <noscript> with scripting enabled treats input as RAWTEXT
- streamPrependHTMLUnsafe on <noscript> with scripting enabled treats input as RAWTEXT
- streamHTML on <noscript> in scripting-disabled document (createHTMLDocument) initializes tokenizer in Data state
- streamHTMLUnsafe on <noscript> in scripting-disabled document (createHTMLDocument) initializes tokenizer in Data state
- streamAppendHTML on <noscript> in scripting-disabled document (createHTMLDocument) initializes tokenizer in Data state
- streamAppendHTMLUnsafe on <noscript> in scripting-disabled document (createHTMLDocument) initializes tokenizer in Data state
- streamHTML on <noscript> in sandboxed iframe initializes tokenizer in Data state
- streamHTMLUnsafe on <noscript> in sandboxed iframe initializes tokenizer in Data state
- streamHTMLUnsafe into <template> content parses <noscript> with the host document's scripting flag
- streamAppendHTMLUnsafe into <template> content parses <noscript> with the host document's scripting flag
- streamPrependHTMLUnsafe into <template> content parses <noscript> with the host document's scripting flag
- streamHTMLUnsafe into <template> content in a scripting-disabled document parses <noscript> in Data state
style_attribute_html.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Parsing of initial style attribute
- Parsing of invalid style attribute
- Parsing of style attribute
- Update style.backgroundColor
svg-template.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- document
- fragment
unclosed-script-already-started.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Unclosed <script> from createContextualFragment() never runs
- Unclosed <script> from setHTMLUnsafe({runScripts: true}) never runs
- Unclosed <script> from innerHTML never runs once connected
- Control: closed <script> from setHTMLUnsafe({runScripts: true}) runs
unsafe-and-trusted-types-external-scripts-async.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- setHTMLUnsafe with Trusted Types default policy setting runScripts: true: external scripts execute as async
- appendHTMLUnsafe with Trusted Types default policy setting runScripts: true: external scripts execute as async
- prependHTMLUnsafe with Trusted Types default policy setting runScripts: true: external scripts execute as async
- beforeHTMLUnsafe with Trusted Types default policy setting runScripts: true: external scripts execute as async
- afterHTMLUnsafe with Trusted Types default policy setting runScripts: true: external scripts execute as async
- replaceWithHTMLUnsafe with Trusted Types default policy setting runScripts: true: external scripts execute as async
- innerHTML with Trusted Types default policy setting runScripts: true: external scripts execute as async
- outerHTML with Trusted Types default policy setting runScripts: true: external scripts execute as async
- beforebegin with Trusted Types default policy setting runScripts: true: external scripts execute as async
- afterbegin with Trusted Types default policy setting runScripts: true: external scripts execute as async
- beforeend with Trusted Types default policy setting runScripts: true: external scripts execute as async
- afterend with Trusted Types default policy setting runScripts: true: external scripts execute as async
xml-parse-serialize-roundtrip.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- DOMParser and XMLSerializer should round trip with CDATA sections: large CDATA
- DOMParser and XMLSerializer should round trip with CDATA sections: multiple CDATAs
xmldomparser.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- XML Dom Parse readyState Test