Re: [heycam/webidl] Does the "required" dictionary member keyword affect output? (#382)

required and default values only apply to the input side of dictionaries. That is the only place where they have normative impact in the Web IDL specifications. Remember "present" is not some kind of requirement on the IDL compiler; it's just something specs can use to write spec-code like "If "key" is present in dictionary, then...".

In general, IDL return values are always documentation, and the prose that does the returning is what governs what is actually returned.

-- 
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/382#issuecomment-315547040

Received on Saturday, 15 July 2017 16:55:28 UTC