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