- From: Andrea Giammarchi <notifications@github.com>
- Date: Thu, 09 May 2024 04:17:19 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 9 May 2024 11:17:23 UTC
As author of all polyfills from v0 to current state, I fully support this proposal. My workaround is not super slow but it requires me patching the global `attachShadow` method on native classes which is a practice I usually avoid at all costs and something I've been advocating against for just about forever ... yet polyfill gotta polyfill, so that if this new proposal *is* the only thing that might need a greedy polyfill around until everyone is onboard, it's definitively worth the effort to me. On a side note: the closed shadow might still be addressed somehow and I feel like the elephant in the room here is that we don't have a way for Websites authors to decide what is trusted as script that could patch natives, and what isn't ... *CSP* is not a great answer to this disambiguation, but maybe this discussion should be done in other venues. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1287#issuecomment-2102469018 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1287/2102469018@github.com>
Received on Thursday, 9 May 2024 11:17:23 UTC