OLD | NEW |
1 CONSOLE WARNING: line 31: Calling Element.createShadowRoot() for an element whic
h already hosts a shadow root is deprecated. See https://www.chromestatus.com/fe
atures/4668884095336448 for more details. | 1 CONSOLE WARNING: line 31: Calling Element.createShadowRoot() for an element whic
h already hosts a shadow root is deprecated. See https://www.chromestatus.com/fe
atures/4668884095336448 for more details. |
2 This tests multiple shadow roots creation with createShadowRoot and mode paramet
er. | 2 This tests multiple shadow roots creation with createShadowRoot and mode paramet
er. |
3 | 3 |
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
5 | 5 |
6 | 6 |
7 createShadowRoot() can still create multiple shadow roots. | 7 createShadowRoot() can still create multiple shadow roots. |
8 PASS internals.shadowRootType(shadow1) is "V0ShadowRoot" | 8 PASS internals.shadowRootType(shadow1) is "V0ShadowRoot" |
9 PASS internals.shadowRootType(shadow2) is "V0ShadowRoot" | 9 PASS internals.shadowRootType(shadow2) is "V0ShadowRoot" |
10 PASS internals.youngestShadowRoot(div) is shadow2 | 10 PASS internals.youngestShadowRoot(div) is shadow2 |
(...skipping 15 matching lines...) Expand all Loading... |
26 PASS internals.youngestShadowRoot(div) is shadow1 | 26 PASS internals.youngestShadowRoot(div) is shadow1 |
27 V0 shadow root cannot be created on UA shadow root | 27 V0 shadow root cannot be created on UA shadow root |
28 PASS internals.shadowRootType(internals.shadowRoot(input)) is "UserAgentShadowRo
ot" | 28 PASS internals.shadowRootType(internals.shadowRoot(input)) is "UserAgentShadowRo
ot" |
29 PASS input.createShadowRoot() threw exception InvalidStateError: Failed to execu
te 'createShadowRoot' on 'Element': Shadow root cannot be created on a host whic
h already hosts an user-agent shadow tree.. | 29 PASS input.createShadowRoot() threw exception InvalidStateError: Failed to execu
te 'createShadowRoot' on 'Element': Shadow root cannot be created on a host whic
h already hosts an user-agent shadow tree.. |
30 PASS input.attachShadow({mode: "open"}) threw exception NotSupportedError: Faile
d to execute 'attachShadow' on 'Element': This element does not support attachSh
adow. | 30 PASS input.attachShadow({mode: "open"}) threw exception NotSupportedError: Faile
d to execute 'attachShadow' on 'Element': This element does not support attachSh
adow. |
31 PASS input.attachShadow({mode: "closed"}) threw exception NotSupportedError: Fai
led to execute 'attachShadow' on 'Element': This element does not support attach
Shadow. | 31 PASS input.attachShadow({mode: "closed"}) threw exception NotSupportedError: Fai
led to execute 'attachShadow' on 'Element': This element does not support attach
Shadow. |
32 PASS successfullyParsed is true | 32 PASS successfullyParsed is true |
33 | 33 |
34 TEST COMPLETE | 34 TEST COMPLETE |
35 | 35 |
OLD | NEW |