Skip to content

Commit 3ab8b30

Browse files
jmdyckmfreed7
authored andcommitted
Editorial: remove outdated use of "EnvironmentRecord"
See tc39/ecma262#1697 for context. Also adjust the style as per Web IDL.
1 parent b789eed commit 3ab8b30

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

source

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2752,7 +2752,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
27522752
<li><dfn data-x-href="https://tc39.es/ecma262/#execution-context-stack">JavaScript execution context stack</dfn></li>
27532753
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-code-realms">JavaScript realm</dfn></li>
27542754
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-jobcallback-records">JobCallback Record</dfn></li>
2755-
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-lexical-environments">EnvironmentRecord</dfn></li>
27562755
<li><dfn data-x-href="https://tc39.es/ecma262/#sec-built-in-function-objects">NewTarget</dfn></li>
27572756
<li><dfn data-x-href="https://tc39.es/ecma262/#running-execution-context">running JavaScript execution context</dfn></li>
27582757
<li><dfn data-x-href="https://tc39.es/ecma262/#surrounding-agent">surrounding agent</dfn></li>
@@ -81525,9 +81524,8 @@ dictionary <dfn dictionary>WindowPostMessageOptions</dfn> : <span>StructuredSeri
8152581524

8152681525
<p>The <dfn attribute for="Window"><code data-x="dom-window">window</code></dfn>, <dfn attribute
8152781526
for="Window"><code data-x="dom-frames">frames</code></dfn>, and <dfn attribute for="Window"><code
81528-
data-x="dom-self">self</code></dfn> attributes' getters must return this <code>Window</code>
81529-
object's <span data-x="concept-relevant-realm">relevant Realm</span>.[[GlobalEnv]]'s
81530-
<span>EnvironmentRecord</span>'s [[GlobalThisValue]].</p>
81527+
data-x="dom-self">self</code></dfn> getter steps are to return <span>this</span>'s <span
81528+
data-x="concept-relevant-realm">relevant Realm</span>.[[GlobalEnv]].[[GlobalThisValue]].</p>
8153181529

8153281530
<p>The <dfn attribute for="Window"><code data-x="dom-document">document</code></dfn> IDL
8153381531
attribute, on getting, must return this <code>Window</code> object's <span

0 commit comments

Comments
 (0)