[heycam/webidl] clearly state that declared interface members must be present on objects implementing the interface (#770)

We were recently grovelling thru the webidl spec looking for where it (might) unambiguously state something like "declared interface members must be present on objects implementing that interface" and could not find such.  

1. is the latter statement correct?

2. we did find in https://heycam.github.io/webidl/#idl-attributes the statement:
> regular attributes, which are those used to declare that objects implementing the interface will have a data field member with the given identifier.

..which essentially is saying that regular attributes must appear on objects implementing that interface.  

It'd have been easier to find this if it incorporated the word "present" (as is done for dictionary members), e.g.:

> regular attributes, which are those used to declare that objects implementing the interface will have a data field member with the given identifier, i.e., regular attributes must be present on objects implementing the interface.





-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/770

Received on Monday, 19 August 2019 18:24:09 UTC