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

@WebReflection 

> if stuff is never live, how this API could be problematic once exposed via Worker 🤔

What do you mean by 'live'? Remember that some elements have actions when they're constructed, not just when they're connected. Eg creating an image.

> it needs a `sandbox` that apparently allows a different thread

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

> _iframe_ doesn't look like an answer if we can't guarantee it runs on a separate, non-blocking, thread

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

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

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

Received on Monday, 31 July 2023 12:27:14 UTC