Re: [css-houdini-drafts] [worklets] There is no way to catch "throw" or "unhandledrejection" (#975)

Yes. In the introduction the spec explains that worklets:

> Are thread-agnostic. That is, they are not defined to run on a particular thread. Rendering engines may run them wherever they choose.

They might be run in the main thread, or on a unique process per worklet, or on a small number of dedicated processes with the worklets allocated from a pool. Which is used depends on the architecture of the browser, the design of the particular worklet (AudioWorklet has different concerns than PaintWorklet, for example), and the perf/security tradeoff each browser wants to take on.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/975#issuecomment-569280237 using your GitHub account

Received on Friday, 27 December 2019 14:25:07 UTC