Re: [heycam/webidl] Allow dictionary default values to reference type members (#717)

You'd have to adjust the design, perhaps not offer `all` at all. Presumably though bitmaps are used for performance reasons and using more "idiomatic" JavaScript would be bad for that?

Note that there's also questions your IDL doesn't answer without looking at the definition. E.g., what if pass 16? (Better IDL bitmask support might help with that, but then again the question is to what extent we want to encourage those kind of APIs, which seems like a bigger question we need to address somehow.)

-- 
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/717#issuecomment-486156227

Received on Wednesday, 24 April 2019 09:59:55 UTC