Skip to content
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

Report on "undesirable" extended attributes in WebIDL #42

Open
tidoust opened this issue Feb 1, 2018 · 2 comments
Open

Report on "undesirable" extended attributes in WebIDL #42

tidoust opened this issue Feb 1, 2018 · 2 comments
Labels
enhancement New feature or request WebIDL checks

Comments

@tidoust
Copy link
Member

tidoust commented Feb 1, 2018

The WebIDL spec states that some of the extended attributes are "undesirable", only defined to support legacy use cases. It would seem useful to report a warning for specs that use these attributes.

@tidoust tidoust added the enhancement New feature or request label Feb 1, 2018
@tidoust
Copy link
Member Author

tidoust commented Apr 13, 2021

More generally, it would be useful to report an anomaly when an unknown extended attribute gets used. This will block publication of webref's IDL package down the road (see w3c/webref#167) but it could be reported earlier.

@foolip
Copy link
Member

foolip commented Apr 13, 2021

FWIW, webidl2.js has a warning about using LegacyNoInterfaceObject which I find very unhelpful. The name already says it's undesirable, and at least when dealing with @webref/idl, one has to ignore the warning.

@tidoust tidoust transferred this issue from w3c/reffy Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WebIDL checks
Projects
None yet
Development

No branches or pull requests

3 participants