Skip to content

[Exposed] doesn't seem to work well with partial interfaces #154

@domenic

Description

@domenic

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions