Skip to content

Log a warning for interfaces and namespaces missing [Exposed] #1077

@tobie

Description

@tobie

In whatwg/webidl#423 we've started making [Exposed] mandatory (to favor explicit over implicit and avoid bugs where interfaces aren't exposed).

It would help move this forward if a warning was printed to the console when a namespace, non-callback interface, or callback interface with constants is missing its [Exposed] extended attribute.

As a second step, this warning could be turned into a fatal error.

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