Skip to content

Commit

Permalink
Add worklets to JavaScript agent clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
hoch authored and mustaqahmed committed Feb 15, 2019
1 parent c07a766 commit 3f22700
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions source
Expand Up @@ -4174,6 +4174,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 @@ -88662,10 +88663,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 @@ -88695,6 +88697,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

0 comments on commit 3f22700

Please sign in to comment.