15.3custom-elements/parser/

43 / 44 WPT subtests passing

Failed
1
Timed out
0
Not run
0
Test files
12
Blocking files
0

Chrome 44 / 44 WPT subtests passing on the same files, none blocking

Tests

12 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
parser-constructs-custom-element-in-document-write.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. HTML parser must instantiate custom elements inside document.write
  2. HTML parser should call connectedCallback before appending child nodes inside document.write
parser-constructs-custom-element-synchronously.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML parser must only append nodes that appear before a custom element before instantiating the custom element
parser-constructs-custom-elements-with-is.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. HTML parser must create a defined autonomous custom element when customElements.define comes after HTML parser creation
  2. HTML parser must create a defined autonomous custom element when customElements.define comes before HTML parser creation
parser-constructs-custom-elements.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. HTML parser must NOT create a custom element before customElements.define is called
  2. HTML parser must create a defined custom element before executing inline scripts
parser-custom-element-in-foreign-content.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. HTML parser should not create custom elements in non-HTML namespaces
parser-fallsback-to-unknown-element.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. HTML parser must create a fallback HTMLUnknownElement when a custom element constructor returns a Text node
  2. HTML parser must create a fallback HTMLUnknownElement when a custom element constructor returns non-Element object
  3. HTML parser must create a fallback HTMLUnknownElement when a custom element constructor does not call super()
  4. HTML parser must create a fallback HTMLUnknownElement when a custom element constructor throws an exception
parser-sets-attributes-after-autonomous-constructor.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Non-empty, empty, and duplicate attributes: parser attribute mutation records on an autonomous custom element without observedAttributes
  2. An empty class attribute: parser attribute mutation records on an autonomous custom element without observedAttributes
  3. No attributes: parser attribute mutation records on an autonomous custom element without observedAttributes
parser-sets-attributes-after-built-in-constructor.html8 / 9 passingChrome 9 / 91 failedWith failures
Standing
With failures runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
  1. FAILLive document.anchors reflects a empty name attribute appended by the parser after the constructor inserted the element
    assert_array_equals: expected property 0 to be Element node <a is="named-anchor" name=""></a> but got Element node <a is="named-anchor" name="parser-anchor"></a> (expected array [Element node <a is="named-anchor" name=""></a>, Element node <a is="named-anchor" name="parser-anchor"></a>] got [Element node <a is="named-anchor" name="parser-anchor"></a>, Element node <a is="named-anchor" name=""></a>])
8 passing subtests
  1. Non-empty, empty, and duplicate attributes: parser attribute mutation records on a customized built-in element
  2. An empty class attribute: parser attribute mutation records on a customized built-in element
  3. A non-empty name attribute: parser attribute mutation records on a customized built-in element
  4. An empty name attribute: parser attribute mutation records on a customized built-in element
  5. Attributes appended by the parser queue mutation records when the constructor inserted the element into an observed subtree
  6. Live getElementsByClassName reflects a non-empty class attribute appended by the parser after the constructor inserted the element
  7. Live getElementsByClassName reflects a empty class attribute appended by the parser after the constructor inserted the element
  8. Live document.anchors reflects a non-empty name attribute appended by the parser after the constructor inserted the element
parser-sets-attributes-and-children.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. HTML parser must set the attributes
  2. HTML parser must append child nodes
  3. HTML parser must set the attributes or append children before calling constructor
  4. HTML parser should call connectedCallback before appending child nodes.
  5. HTML parser must enqueue attributeChanged reactions
parser-uses-constructed-element.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. HTML parser must use the returned value of the custom element constructor instead of the one created before super() call
  2. HTML parser must use the returned value of the custom element constructor instead using the one created in super() call
parser-uses-registry-of-owner-document.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. HTML parser must not instantiate custom elements inside template elements
  2. HTML parser must not use the registry of the owner element's document inside an iframe
  3. HTML parser must use the registry of the content document inside an iframe
  4. HTML parser must not instantiate a custom element defined inside an frame in frame element's owner document
  5. HTML parser must use the registry of window.document in a document created by DOMParser
  6. HTML parser must use the registry of window.document in a document created by document.implementation.createXHTMLDocument()
  7. HTML parser must use the registry of window.document in a document created by new Document
  8. HTML parser must use the registry of window.document in a document created by XMLHttpRequest
  9. document.write() must not instantiate a custom element without a defined insertion point
  10. document.writeln() must not instantiate a custom element without a defined insertion point
serializing-html-fragments-customized-builtins.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. "is" value should be serialized if the custom element has no "is" content attribute
  2. "is" value should be serialized even for an undefined element
  3. "is" content attribute should be serialized even if the element is a customized built-in element

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.