You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Any extended attribute specified on a partial interface definition is considered to appear on the interface itself"
Which does not seem to work well with [Exposed] (and possibly not well with [SecureContext] either). Probably that statement needs to be modified, but we also need to think about why it's there in the first place and for what extended attributes it does make sense
We are also missing a potential restriction which seems important, namely "If [Exposed] appears on a partial interface, then the partial interface's exposure set MUST be a subset of the interface's exposure set."
In general it's not clear what putting different [Exposed] values on an interface vs. a partial interface might mean, or on members of an interface or members of a partial interface.
The text was updated successfully, but these errors were encountered:
Now that you mention the "why it's there" bit, I think that statement was added so you could add a [Constructor] via a partial interface and have it work in the "sane" way: by adding a constructor or constructor overload to the main interface.
It seems like a bad idea to allow [Global] on a partial interface.
The behavior of [Exposed] and [SecureContext] on partial interfaces is already
defined in the relevant algorithms.
The behavior of [OverrideBuiltins] is defined here with the same vague wording
used before. It might be better to disentangle the concept of an interface and
its syntactical structure.
Fixes#154.
Previously at #121 (comment) and #121 (comment)
The spec currently says
Which does not seem to work well with [Exposed] (and possibly not well with [SecureContext] either). Probably that statement needs to be modified, but we also need to think about why it's there in the first place and for what extended attributes it does make sense
We are also missing a potential restriction which seems important, namely "If [Exposed] appears on a partial interface, then the partial interface's exposure set MUST be a subset of the interface's exposure set."
In general it's not clear what putting different [Exposed] values on an interface vs. a partial interface might mean, or on members of an interface or members of a partial interface.
The text was updated successfully, but these errors were encountered: