Skip to content

Commit fade1a6

Browse files
committed
Add "relevant agent" and point out "surrounding agent"
These would improve whatwg/dom#717 and #4204.
1 parent 04d7764 commit fade1a6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

source

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3001,6 +3001,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
30013001
<li><dfn data-x-href="https://tc39.github.io/ecma262/#execution-context-stack">JavaScript execution context stack</dfn></li>
30023002
<li><dfn data-x-href="https://tc39.github.io/ecma262/#sec-code-realms">JavaScript realm</dfn></li>
30033003
<li><dfn data-x-href="https://tc39.github.io/ecma262/#running-execution-context">running JavaScript execution context</dfn></li>
3004+
<li><dfn data-x-href="https://tc39.github.io/ecma262/#surrounding-agent">surrounding agent</dfn></li>
30043005
<li><dfn data-x-href="https://tc39.github.io/ecma262/#use-strict-directive">Use Strict Directive</dfn></li>
30053006
<li><dfn data-x-href="https://tc39.github.io/ecma262/#sec-well-known-symbols">Well-Known Symbols</dfn>, including
30063007
<dfn>@@hasInstance</dfn>,
@@ -88917,6 +88918,16 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
8891788918
</dd>
8891888919
</dl>
8891988920

88921+
<hr>
88922+
88923+
<p>The <dfn data-export="">relevant agent</dfn> for a <span>platform object</span>
88924+
<var>platformObject</var> is the <span>agent</span> whose set of <span data-x="JavaScript
88925+
realm">realms</span> contains <var>platformObject</var>'s <span
88926+
data-x="concept-relevant-realm">relevant Realm</span>.</p>
88927+
88928+
<p class="note">The agent equivalent of the <span>current Realm Record</span> is the
88929+
<span>surrounding agent</span>.</p>
88930+
8892088931
<h5>Integration with the JavaScript agent cluster formalism</h5>
8892188932

8892288933
<p>JavaScript also defines the concept of an <span>agent cluster</span>, which this standard maps

0 commit comments

Comments
 (0)