Re: [whatwg/dom] Integration with trusted types inside of node conversion (PR #1258)

> This looks complicated. Any reason we cannot convert to Text nodes first and then potentially throw for Text nodes if they pose some kind of danger in combination with a script element?

Ah yeah that's a good idea, can process text nodes and raw strings at the same time them and then can just handle the trusted script after the other processing (because it needs to hold onto the fact it's safe). I knew there was probably a nicer way.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1258#issuecomment-1976504498
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1258/c1976504498@github.com>

Received on Monday, 4 March 2024 12:45:25 UTC