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

Editorial: Remove outdated use of "EnvironmentRecord" #7535

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

jmdyck
Copy link
Contributor

@jmdyck jmdyck commented Jan 26, 2022

Formerly, 7.3 "The Window object" referred to

(realm).[[GlobalEnv]]'s EnvironmentRecord's [[GlobalThisValue]]

Here, (realm).[[GlobalEnv]] was a Lexical Environment,
whose EnvironmentRecord component was a global Environment Record,
with a [[GlobalThisValue]] field.

However, tc39/ecma262#1697 eliminated Lexical Environments,
merging them into Environment Records.
So now (realm).[[GlobalEnv]] is a global Environment Record,
and the reference should be

(realm).[[GlobalEnv]].[[GlobalThisValue]]

/infrastructure.html ( diff )
/window-object.html ( diff )

jmdyck and others added 2 commits January 25, 2022 23:55
Formerly, 7.3 "The Window object" referred to
`(realm).[[GlobalEnv]]'s EnvironmentRecord's [[GlobalThisValue]]`
Here, `(realm).[[GlobalEnv]]` was a Lexical Environment,
whose `EnvironmentRecord` component was a global Environment Record,
with a `[[GlobalThisValue]]` field.

However, tc39/ecma262#1697 eliminated Lexical Environments,
merging them into Environment Records.
So now `(realm).[[GlobalEnv]]` is a global Environment Record,
and the reference should be
`(realm).[[GlobalEnv]].[[GlobalThisValue]]`
@annevk annevk merged commit b0cf2bc into whatwg:main Jan 26, 2022
@jmdyck jmdyck deleted the EnvironmentRecord branch January 26, 2022 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants