Fixes some bogus code in #41 that perhaps never worked — it was dependent on nonstandard extensions to the Node interface that appear to be specific to Chrome devtools. So instead we use the standard methods (which probably behave slightly differently with respect to shadow roots, but I don’t think this matters to us — and at any rate if it’s better than crashing).
Fixes some bogus code in #41 that perhaps never worked — it was dependent on nonstandard extensions to the
Node
interface that appear to be specific to Chrome devtools. So instead we use the standard methods (which probably behave slightly differently with respect to shadow roots, but I don’t think this matters to us — and at any rate if it’s better than crashing).