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

> Remember that some elements have actions when they're constructed, not just when they're connected. Eg creating an image.

of course I did not think about that, fair enough then.

> I don't believe browsers run iframes in a different thread, even if they have the sandbox attribute.

from [live tests via SO](https://stackoverflow.com/questions/11510483/will-a-browser-give-an-iframe-a-separate-thread-for-javascript) iframes run in a different thread if:
  * the `src` points to a different domain
  * the `sandbox` attribute is used ... at least that's what devs observed and tested live

> Right, that's why I was proposing a feature that did that.

it'd be awesome, and if not too problematic and it can speed up things more, @surma hint around `no-render` would be a strawberry on the cake.

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

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

Received on Monday, 31 July 2023 12:32:43 UTC