| OLD | NEW |
| (Empty) | |
| 1 Create open shadow root. |
| 2 PASS [object ShadowRoot] is non-null. |
| 3 Create closed shadow root. |
| 4 PASS host2.createShadowRoot({mode: 'closed'}) threw exception NotSupportedError:
Failed to execute 'createShadowRoot' on 'Element': Closed shadow root is not im
plemented yet.. |
| 5 Create shadow root with empty parameter. |
| 6 PASS [object ShadowRoot] is non-null. |
| 7 Create shadow root whose mode is neither open nor closed. |
| 8 PASS host4.createShadowRoot({mode: 'illegal'}) threw exception TypeError: Failed
to execute 'createShadowRoot' on 'Element': The provided value 'illegal' is not
a valid enum value of type ShadowRootMode.. |
| 9 PASS successfullyParsed is true |
| 10 |
| 11 TEST COMPLETE |
| 12 |
| OLD | NEW |