(n: Node)
| 219 | } |
| 220 | |
| 221 | export function getRootNode(n: Node): Node { |
| 222 | return getUntaintedMethod('Node', n, 'getRootNode')(); |
| 223 | } |
| 224 | |
| 225 | export function host(n: ShadowRoot): Element | null { |
| 226 | if (!n || !('host' in n)) return null; |
nothing calls this directly
no test coverage detected