Re: [whatwg/dom] Proposal: DOM APIs in web workers? (Issue #1217)

> What are the advantages of this proposal, vs being able to create an iframe that runs in a different thread?

FWIW, I think being able to create document fragments in a Worker that can be manipulated, without having to pay the cost of layouting or rendering, but _can_ be sent to a renderer thread seems valuable to me and sufficiently different from an iframe. 

(I suppose a case could be made to introduce something like `<iframe no-render>` that can skip layout and rendering and effectively becomes a Worker with a DOM ™️ . Not sure if that has second-order implications tho).

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

Message ID: <whatwg/dom/issues/1217/1658179230@github.com>

Received on Monday, 31 July 2023 11:21:56 UTC