15.7custom-elements/upgrading/

29 / 29 WPT subtests passing

Failed
0
Timed out
0
Not run
0
Test files
7
Blocking files
0

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

Tests

7 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
Document-importNode-customized-builtins.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. built-in: document.importNode() should import custom elements successfully
  2. built-in: document.importNode() should import "undefined" custom elements successfully
Document-importNode.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. autonomous: document.importNode() should import custom elements successfully
  2. autonomous: document.importNode() should import "undefined" custom elements successfully
Node-cloneNode-customized-builtins.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. Node.prototype.cloneNode(false) must be able to clone as a customized built-in element when it has an inconsistent "is" attribute
Node-cloneNode.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. Node.prototype.cloneNode(false) must be able to clone a custom element
  2. Node.prototype.cloneNode(false) must be able to clone as a autonomous custom element when it contains is attribute
  3. Node.prototype.cloneNode(false) must be able to clone a custom element inside an iframe
  4. Node.prototype.cloneNode(true) must be able to clone a descendent custom element
  5. Node.prototype.cloneNode(true) must set parentNode, previousSibling, and nextSibling before upgrading custom elements
  6. HTMLElement constructor must throw an TypeError when the top of the construction stack is marked AlreadyConstructed due to a custom element constructor constructing itself after super() call
  7. HTMLElement constructor must throw an TypeError when the top of the construction stack is marked AlreadyConstructed due to a custom element constructor constructing itself before super() call
  8. Upgrading a custom element must throw TypeError when the custom element's constructor returns another element
  9. Inserting an element must not try to upgrade a custom element when it had already failed to upgrade once
upgrade-custom-element-error-event.html4 / 4 passingChrome 1 / 40 failedClean
Standing
Clean runner status OK
Chrome
With failures 1 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. autonomous: exception thrown in constructor is reported to definition's global
  2. autonomous: exception thrown by spec due to invalid element state is reported to definition's global
  3. customized built-in: exception thrown in constructor is reported to definition's global
  4. customized built-in: exception thrown by spec due to not returning the same value is reported to definition's global
upgrading-enqueue-reactions.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. Upgrading a custom element must enqueue attributeChangedCallback on each attribute
  2. Upgrading a custom element not must enqueue attributeChangedCallback on unobserved attributes
  3. Upgrading a custom element must enqueue connectedCallback if the element in the document
  4. Upgrading a custom element must enqueue attributeChangedCallback before connectedCallback
  5. Upgrading a custom element must not invoke attributeChangedCallback and connectedCallback when the element failed to upgrade
upgrading-parser-created-element.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Element.prototype.createElement must add an unresolved custom element to the upgrade candidates map
  2. HTMLElement constructor must throw an TypeError when the top of the construction stack is marked AlreadyConstructed due to a custom element constructor constructing itself after super() call
  3. HTMLElement constructor must throw an TypeError when the top of the construction stack is marked AlreadyConstructed due to a custom element constructor constructing itself before super() call
  4. Upgrading a custom element must throw an TypeError when the returned element is not SameValue as the upgraded element
  5. Upgrading a custom element whose constructor returns a Text node must throw
  6. Upgrading a custom element whose constructor returns an Element must throw

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.