Skip to content

Commit

Permalink
Add fixes to latest feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dtapuska committed Aug 28, 2019
1 parent fe00836 commit 5932a85
Showing 1 changed file with 20 additions and 11 deletions.
31 changes: 20 additions & 11 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -3009,6 +3009,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-agents">agent</dfn> and
<dfn data-x-href="https://tc39.es/ecma262/#sec-agent-clusters">agent cluster</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-automatic-semicolon-insertion">automatic semicolon insertion</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-candidate-executions">candidate execution</dfn></li>
<li>The <dfn data-x-href="https://tc39.es/ecma262/#current-realm">current Realm Record</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#early-error-rule">early error</dfn></li>
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-invariants-of-the-essential-internal-methods">invariants of the essential internal methods</dfn></li>
Expand Down Expand Up @@ -78624,8 +78625,8 @@ console.assert(iframeWindow.frameElement === null);
<p>A <dfn>browsing context group</dfn> holds a <dfn>browsing context set</dfn> (a <span>set</span>
of <span data-x="top-level browsing context">top-level browsing contexts</span>).</p>

<p>A <span>browsing context group</span> has associated <dfn>agent cluster map</dfn> (a weak <span
data-x="ordered map">map</span> of <span>agent cluster key</span> to <span>agent
<p>A <span>browsing context group</span> has an associated <dfn>agent cluster map</dfn> (a weak
<span data-x="ordered map">map</span> of <span>agent cluster key</span> to <span>agent
cluster</span>). User agents are responsible for collecting agent clusters when it is deemed that
nothing can access them anymore.</p>

Expand Down Expand Up @@ -90413,11 +90414,11 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
of <span data-x="similar-origin window agent">similar-origin window agents</span>.</p>


<p>A <dfn data-export="">scheme-and-site</dfn> is a <span>tuple</span> of a <span
<p>A <dfn data-export="">scheme-and-registrable-domain</dfn> is a <span>tuple</span> of a <span
data-x="concept-url-scheme">scheme</span> and a <span data-x="concept-domain">domain</span>.</p>

<p>An <dfn data-export="">agent cluster key</dfn> is an <span>origin</span> or a
<span>scheme-and-site</span>.</p>
<span>scheme-and-registrable-domain</span>.</p>

<p>To <dfn data-x="obtain-agent-cluster-key">obtain an agent cluster key</dfn>, given an origin
<var>origin</var>, run these steps:</p>
Expand All @@ -90426,11 +90427,11 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
<li><p>If <var>origin</var> is an <span data-x="concept-origin-opaque">opaque origin</span>, then
return <var>origin</var>.</p></li>

<li><p>If <var>origin</var>'s <span data-x="concept-host">host</span>'s <span>registrable
<li><p>If <var>origin</var>'s <span data-x="concept-origin-host">host</span>'s <span>registrable
domain</span> is null, then return <var>origin</var>.</p></li>

<li><p>Return (<var>origin</var>'s <span data-x="concept-url-scheme">scheme</span>,
<var>origin</var>'s <span data-x="concept-host">host</span>'s <span>registrable
<li><p>Return (<var>origin</var>'s <span data-x="concept-origin-scheme">scheme</span>,
<var>origin</var>'s <span data-x="concept-origin-host">host</span>'s <span>registrable
domain</span>).</p></li>
</ol>

Expand All @@ -90450,8 +90451,17 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
<li><p>Return <var>agentCluster</var>'s <span>similar-origin window agent</span>.</p></li>
</ol>

<p>A <dfn data-export="">similar-origin window agent</dfn> is an <span>agent</span> whose
[[CanBlock]] is false. </p>
<p>A <dfn data-export="">similar-origin window agent</dfn> is an <span>agent</span> created
during the course of the following algorithm:</p>

<ol>
<li><p>Let <var>signifier</var> be a new unique internal value.</p></li>

<li><p>Let <var>candidateExecution</var> be a new <span>candidate execution</span>.</p></li>

<li><p>Return a new <span>agent</span> whose [[CanBlock]] is true, [[Signifier]] is
<var>signifier</var> and [[CandidateExecution]] is <var>candidateExecution</var>.</p></li>
</ol>

<p class="note">All global objects that use this agent all have a similar <span>origin</span> and
are allocated via the <span data-x="obtain-similar-origin-window-agent">obtain similar-origin
Expand All @@ -90467,8 +90477,7 @@ import "https://example.com/foo/../module2.mjs";</code></pre>
exists">does not exist:</span></p>
<ol>
<li><p>Let <var>agentCluster</var> be a new <span>agent cluster</span>.</p></li>
<li><p>Set <var>agentCluster</var>'s <span>similar-origin window agent</span> be a new
<span>similar-origin window agent</span>.</p></li>
<li><p>Add a new <span>similar-origin window agent</span> to <var>agentCluster</var>.</p></li>
<li><p>Set <var>group</var>'s <span>agent cluster map</span>[<var>key</var>] to
<var>agentCluster</var>.</p></li>
</ol>
Expand Down

0 comments on commit 5932a85

Please sign in to comment.