@@ -88522,12 +88522,11 @@ import "https://example.com/foo/../module2.js";</pre>
88522
88522
</dd>
88523
88523
</dl>
88524
88524
88525
- <p>To determine the manifestation of JavaScript's <span>agent cluster</span> concept in user
88526
- agents, we define which <span data-x="agent">agents</span> <dfn>can share memory with</dfn>
88527
- another. Then all the <span data-x="agent">agents</span> that can <span>can share memory
88528
- with</span> each other form an <span>agent cluster</span>.</p>
88525
+ <h5>Integration with the JavaScript agent cluster formalism</h5>
88529
88526
88530
- <p class="note">The <span>can share memory with</span> relation is symmetric.</p>
88527
+ <p><dfn>Can share memory with</dfn> defines an equivalence relation. An <span>agent cluster</span>
88528
+ consists of all <span data-x="agent">agents</span> in the same equivalence class with respect to
88529
+ the <span>can share memory with</span> equivalence relation.</p>
88531
88530
88532
88531
<p>A <span>similar-origin window agent</span>, <span>dedicated worker agent</span>, <span>shared
88533
88532
worker agent</span>, or <span>service worker agent</span>, <var>agent</var>, <span>can share
@@ -88544,6 +88543,19 @@ import "https://example.com/foo/../module2.js";</pre>
88544
88543
href="https://github.com/w3c/css-houdini-drafts/issues/224">w3c/css-houdini-drafts issue
88545
88544
#224</a>.</p>
88546
88545
88546
+ <p>In addition, any <span>agent</span> <var>A</var> <span>can share memory with</span>:</p>
88547
+
88548
+ <ul class="brief">
88549
+ <li><var>A</var>,</li>
88550
+
88551
+ <li>any <span>agent</span> <var>B</var> such that <var>B</var> <span>can share memory with</span>
88552
+ <var>A</var>, and</li>
88553
+
88554
+ <li>any <span>agent</span> <var>B</var> such that there exists an <span>agent</span>
88555
+ <var>C</var>, where <var>A</var> <span>can share memory with</span> <var>C</var> and <var>C</var>
88556
+ <span>can share memory with</span> <var>B</var>.</li>
88557
+ </ul>
88558
+
88547
88559
<p>The <span>agent cluster</span> concept is crucial for defining the JavaScript memory model, and
88548
88560
in particular among which <span data-x="agent">agents</span> the backing data of
88549
88561
<code>SharedArrayBuffer</code> objects can be shared.</p>
0 commit comments