Skip to content

Add Worklet to JavaScript agent clusters #4069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 15, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -4173,6 +4173,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<ul class="brief">
<li><dfn data-x-href="https://drafts.css-houdini.org/worklets/#workletglobalscope"><code>WorkletGlobalScope</code></dfn></li>
<li>A <code>WorkletGlobalScope</code>'s <dfn data-x="concept-worklet-owner-document" data-x-href="https://drafts.css-houdini.org/worklets/#workletglobalscope-owner-document">owner document</dfn></li>
</ul>
</dd>

Expand Down Expand Up @@ -88631,10 +88632,11 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
<p class="note">"Item" is used above as an <span>owner set</span> can contain
<code>Document</code> objects.</p>

<p class="&#x0058;&#x0058;&#x0058;">A <span>worklet agent</span> &hellip; currently worklets have
no clearly defined owner, see: <a
href="https://github.com/w3c/css-houdini-drafts/issues/224">w3c/css-houdini-drafts issue
#224</a>.</p>
<p>A <span>similar-origin window agent</span> <span>can share memory with</span> any
<span>worklet agent</span> whose single <span data-x="JavaScript realm">realm</span>'s
<span data-x="concept-realm-global">global object</span>'s
<span data-x="concept-worklet-owner-document">owner document</span>'s
<span data-x="concept-relevant-realm">relevant Realm</span> belongs to <var>agent</var>.</p>

<p>In addition, any <span>agent</span> <var>A</var> <span>can share memory with</span>:</p>

Expand Down Expand Up @@ -88664,6 +88666,8 @@ import "https://example.com/foo/../module2.mjs";</code></pre>

<li>A <code>Window</code> object and a <span>same origin-domain</span> <code>Window</code>
object that opened it.</li>

<li>A <code>Window</code> object and a worklet that it created.</li>
</ul>

<p>The following pairs of global objects are <em>not</em> within the same <span>agent
Expand Down