-
Notifications
You must be signed in to change notification settings - Fork 189
Description
Previously at #121 (comment) and #121 (comment)
The spec currently says
"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.