| OLD | NEW |
| (Empty) |
| 1 Attach open shadow root. | |
| 2 PASS [object ShadowRoot] is non-null. | |
| 3 Attach closed shadow root. | |
| 4 PASS host2.createShadowRoot({mode: 'closed'}) is non-null. | |
| 5 Create shadow root with empty parameter. | |
| 6 PASS [object ShadowRoot] is non-null. | |
| 7 Attach shadow root whose mode is neither open nor closed. | |
| 8 PASS host4.attachShadow({mode: 'illegal'}) threw exception TypeError: Failed to
execute 'attachShadow' on 'Element': The provided value 'illegal' is not a valid
enum value of type ShadowRootMode.. | |
| 9 Attach open shadow root with shadow-dom.js utility. | |
| 10 PASS [object ShadowRoot] is non-null. | |
| 11 Attach shadow root on already shadowed host will raise InvalidStateError excepti
on. | |
| 12 PASS host1.attachShadow({mode: 'open'}) threw exception InvalidStateError: Faile
d to execute 'attachShadow' on 'Element': Shadow root cannot be created on a hos
t which already hosts a shadow tree.. | |
| 13 PASS successfullyParsed is true | |
| 14 | |
| 15 TEST COMPLETE | |
| 16 | |
| OLD | NEW |