Skip to content
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

Add "relevant agent" and point out "surrounding agent" #4294

Merged
merged 1 commit into from
Jan 15, 2019
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
11 changes: 11 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3001,6 +3001,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://tc39.github.io/ecma262/#execution-context-stack">JavaScript execution context stack</dfn></li>
<li><dfn data-x-href="https://tc39.github.io/ecma262/#sec-code-realms">JavaScript realm</dfn></li>
<li><dfn data-x-href="https://tc39.github.io/ecma262/#running-execution-context">running JavaScript execution context</dfn></li>
<li><dfn data-x-href="https://tc39.github.io/ecma262/#surrounding-agent">surrounding agent</dfn></li>
<li><dfn data-x-href="https://tc39.github.io/ecma262/#use-strict-directive">Use Strict Directive</dfn></li>
<li><dfn data-x-href="https://tc39.github.io/ecma262/#sec-well-known-symbols">Well-Known Symbols</dfn>, including
<dfn>@@hasInstance</dfn>,
Expand Down Expand Up @@ -88917,6 +88918,16 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
</dd>
</dl>

<hr>

<p>The <dfn data-export="">relevant agent</dfn> for a <span>platform object</span>
<var>platformObject</var> is the <span>agent</span> whose set of <span data-x="JavaScript
realm">realms</span> contains <var>platformObject</var>'s <span
data-x="concept-relevant-realm">relevant Realm</span>.</p>

<p class="note">The agent equivalent of the <span>current Realm Record</span> is the
<span>surrounding agent</span>.</p>

<h5>Integration with the JavaScript agent cluster formalism</h5>

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