Re: [css-houdini-drafts] [worklets] relationship to JavaScript agent clusters

I see - I was looking for something more extensive. For Audio Worklet, an AudioWorkletGlobalScope is associated with a BaseAudioContext, which only can be owned by a window agent. (Workers can't instantiate BAC.) That leaves us:

> (a) A similar-origin window agent can share memory with any Worklet agent (b) whose single realm's global object's owner set contains an item whose relevant Realm belongs to agent

TBH I am having trouble understanding the part (b), but I believe it roughly matches the concept of "WorkletGlobalScope" (an event loop on a thread).

Also if this is an "imprecise" version of it, how do we make it more "precise"?



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

Received on Friday, 5 October 2018 22:09:36 UTC