OLD | NEW |
| (Empty) |
1 This is a testharness.js-based test. | |
2 PASS Check the existence of Element.attachShadow | |
3 PASS Nodes other than Element should not have attachShadow | |
4 PASS Element.attachShadow must throw a TypeError if mode is not "open" or "close
d" | |
5 PASS Element.attachShadow must create an instance of ShadowRoot | |
6 PASS Element.attachShadow must throw a InvalidStateError if the context object a
lready hosts a shadow tree | |
7 FAIL Element.attachShadow must throw a NotSupportedError for button, details, in
put, marquee, meter, progress, select, textarea, and keygen elements assert_thro
ws: Calling attachShadow({mode: "open"}) on button element must throw function "
function () { | |
8 document.createElement(elementN..." did not throw | |
9 Harness: the test ran to completion. | |
10 | |
OLD | NEW |