Skip to content

Commit

Permalink
Editorial: formalize the concept of a realm's agent
Browse files Browse the repository at this point in the history
Follows tc39/ecma262#3058. See tc39/ecma262#1357 for more background.
  • Loading branch information
syg authored and rubberyuzu committed Jul 20, 2023
1 parent 61d8fc2 commit 57b11be
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -97228,11 +97228,14 @@ new PaymentRequest(…); // Allowed to use
<li><p>Return <var>agent</var>.</p></li>
</ol>

<p>For a <span>realm</span> <var>realm</var>, the <span>agent</span> whose [[Signifier]] is
<var>realm</var>.[[AgentSignifier]] is <dfn data-x="realm's agent" export data-lt="agent"
for="realm">the realm's agent</dfn>.</p>

<p>The <dfn export>relevant agent</dfn> for a <span>platform object</span>
<var>platformObject</var> is <var>platformObject</var>'s <span
data-x="concept-relevant-realm">relevant realm</span>'s <span>agent</span>. <span class="XXX"
data-x="">This pointer is not yet defined in the JavaScript specification; see <a
href="https://github.com/tc39/ecma262/issues/1357">tc39/ecma262#1357</a>.</span></p>
data-x="concept-relevant-realm">relevant realm</span>'s <span data-x="realm's
agent">agent</span>.</p>

<p class="note">The agent equivalent of the <span>current realm</span> is the <span>surrounding
agent</span>.</p>
Expand Down Expand Up @@ -97380,7 +97383,7 @@ new PaymentRequest(&hellip;); // Allowed to use
<li><p><span>Assert</span>: <var>outside settings</var> is not null.</p></li>

<li><p>Let <var>ownerAgent</var> be <var>outside settings</var>'s <span data-x="environment
settings object's realm">realm</span>'s agent.</p></li>
settings object's realm">realm</span>'s <span data-x="realm's agent">agent</span>.</p></li>

<li><p>Set <var>agentCluster</var> to the agent cluster which contains
<var>ownerAgent</var>.</p></li>
Expand Down Expand Up @@ -97683,10 +97686,6 @@ new PaymentRequest(&hellip;); // Allowed to use

<li><p>Let <var>realm</var> be <var>realm execution context</var>'s Realm component.</p></li>

<li><p>Set <var>realm</var>'s agent to <var>agent</var>. <span class="XXX" data-x="">This pointer
is not yet defined in the JavaScript specification; see <a
href="https://github.com/tc39/ecma262/issues/1357">tc39/ecma262#1357</a>.</span></p></li>

<li>
<p>If <var>agent</var>'s <span>agent cluster</span>'s <span
data-x="agent-cluster-cross-origin-isolation">cross-origin isolation mode</span> is "<code
Expand Down

0 comments on commit 57b11be

Please sign in to comment.