Re: [w3c/webcomponents] Measuring performance of shadow DOM (#848)

> I still don't think it's particularly precise. Presumably those with access to the shadow tree have access to the information, if it's exposed on nodes. So they could relay it to others if they so desire.

Those with access to the shadow tree would not have access to these APIs, as currently the scope of PerformanceEntry/PerformanceObserver is the window or worker. Perhaps this could be solved with observers scoped to shadow roots.

> The shadowDOM encapsulation is just that, encapsulation. And if you have arbitrary code traversing into the internals of the shadow, then why bother to have encapsulation in the first place?

"Encapsulation

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/848#issuecomment-543314546

Received on Thursday, 17 October 2019 18:57:38 UTC