Pass | Node.prototype.cloneNode(false) must be able to clone a custom element | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:22:5) | Pass | assert_true(true)
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:23:5) | Pass | assert_not_equals(Element node <my-custom-element></my-custom-element>, Element node <my-custom-element></my-custom-element>)
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:26:5) | Pass | assert_true(true, "A cloned custom element must be an instance of HTMLElement")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:27:5) | Pass | assert_true(true, "A cloned custom element must be an instance of the custom element")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:29:5) |
|
Pass | Node.prototype.cloneNode(false) must be able to clone as a autonomous custom element when it contains is attribute | Asserts runPass | assert_true(true)
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:41:5) | Pass | assert_true(true)
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:42:5) | Pass | assert_not_equals(Element node <autonomous-custom-element></autonomous-custom-element>, Element node <autonomous-custom-element></autonomous-custom-element>)
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:45:5) | Pass | assert_true(true, "A cloned custom element must be an instance of HTMLElement")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:46:5) | Pass | assert_true(true, "A cloned custom element must be an instance of the custom element")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:48:5) |
|
Pass | Node.prototype.cloneNode(false) must be able to clone a custom element inside an iframe | Asserts runPass | assert_true(true)
at /custom-elements/upgrading/Node-cloneNode.html:58:5 | Pass | assert_true(true)
at /custom-elements/upgrading/Node-cloneNode.html:59:5 | Pass | assert_not_equals(Element node <my-custom-element></my-custom-element>, Element node <my-custom-element></my-custom-element>)
at /custom-elements/upgrading/Node-cloneNode.html:62:5 | Pass | assert_true(true, "A cloned custom element must be an instance of HTMLElement")
at /custom-elements/upgrading/Node-cloneNode.html:63:5 | Pass | assert_true(true, "A cloned custom element must be an instance of the custom element")
at /custom-elements/upgrading/Node-cloneNode.html:65:5 |
|
Pass | Node.prototype.cloneNode(true) must be able to clone a descendent custom element | Asserts runPass | assert_true(true)
at /custom-elements/upgrading/Node-cloneNode.html:79:5 | Pass | assert_not_equals(Element node <my-custom-element></my-custom-element>, Element node <my-custom-element></my-custom-element>)
at /custom-elements/upgrading/Node-cloneNode.html:82:5 | Pass | assert_true(true, "A cloned custom element must be an instance of HTMLElement")
at /custom-elements/upgrading/Node-cloneNode.html:83:5 | Pass | assert_true(true, "A cloned custom element must be an instance of the custom element")
at /custom-elements/upgrading/Node-cloneNode.html:85:5 |
|
Pass | Node.prototype.cloneNode(true) must set parentNode, previousSibling, and nextSibling before upgrading custom elements | Asserts runPass | assert_equals(Element node <div><b></b><my-custom-element></my-custom-element><a></a..., Element node <div><b></b><my-custom-element></my-custom-element><a></a..., "An upgraded element must have its parentNode set before the custom element constructor is called")
at /custom-elements/upgrading/Node-cloneNode.html:114:5 | Pass | assert_equals(Element node <b></b>, Element node <b></b>, "An upgraded element must have its previousSibling set before the custom element constructor is called")
at /custom-elements/upgrading/Node-cloneNode.html:116:5 | Pass | assert_equals(Element node <a></a>, Element node <a></a>, "An upgraded element must have its nextSibling set before the custom element constructor is called")
at /custom-elements/upgrading/Node-cloneNode.html:118:5 |
|
Pass | 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 | Asserts runPass | assert_equals("TypeError", "TypeError")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:139:5) |
|
Pass | 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 | Asserts runPass | assert_equals("TypeError", "TypeError")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:157:5) |
|
Pass | Upgrading a custom element must throw TypeError when the custom element's constructor returns another element | Asserts runPass | assert_equals("TypeError", "TypeError")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:177:5) |
|
Pass | Inserting an element must not try to upgrade a custom element when it had already failed to upgrade once | Asserts runPass | assert_equals("bad", "bad")
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:196:5) | Pass | assert_array_equals([Element node <my-custom-element-throw-exception></my-custom-element-th...], [Element node <my-custom-element-throw-exception></my-custom-element-th...])
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:198:5) | Pass | assert_array_equals([Element node <my-custom-element-throw-exception></my-custom-element-th...], [Element node <my-custom-element-throw-exception></my-custom-element-th...])
at Test.<anonymous> ( /custom-elements/upgrading/Node-cloneNode.html:201:5) |
|