-
Notifications
You must be signed in to change notification settings - Fork 28
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
Invalid Web IDL: DigitalGoodsService needs an "[Exposed]" extended attribute #46
Comments
Thank you for the report. Fixed in commit e712065. |
Hi @tidoust , if we don't want to expose So far we have been asking web developers to use |
That is essentially not possible. Or rather, Web IDL defines a Without that legacy extended attribute, interfaces always create a property on the global object. |
That is very interesting. Do you know what is the reasoning for this? |
Sorry, I don't know the history of the why and how. One possible reason is that this allows developers to override prototype methods, which you cannot do if you don't have access to the interface object. The only remaining users of |
Great! Thank you for the link 😆 |
The Web IDL definition of the
DigitalGoodsService
interface is currently invalid because interfaces must have an[Exposed]
extended attribute. Something like:The text was updated successfully, but these errors were encountered: