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
Fix and clarify exposed dfn #464
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some confusion on |env|, which is a realm (there's an outstanding issue to s/ECMAScript global environment/realm), and |env|'s global, which is an object.
index.bs
Outdated
An [=interface=], [=namespace=], or [=member=] |construct| is <dfn id="dfn-exposed" export>exposed</dfn> | ||
in a given ECMAScript global environment |env| if the following steps return true: | ||
|
||
1. If |env| does not implement an [=interface=] that is in |construct|'s [=exposure set=], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|env| does not implement interfaces; |env|'s [=realm/global object=]
does. This got lost in translation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks.
index.bs
Outdated
then return false. | ||
1. If |construct| is [=available in both secure and non-secure contexts=], | ||
then return true. | ||
1. If the [=relevant settings object=] for |env| is a [=secure context=], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be [=realm/settings object=]
Preview | Diff