- From: Rick Byers <notifications@github.com>
- Date: Wed, 20 Apr 2016 09:02:59 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc:
Received on Wednesday, 20 April 2016 16:03:30 UTC
> I'm confused - enumerating the supported dictionary members is literally the request here. (Or at least, being able to ask if a given name is a supported dictionary member.) Right. There have been two main classes of APIs discussed: 1. `dictionarySupports("EventListenerOptions", "passive")` - provides feature detection without enumeration 2. `"passive" in EventListenerOptions` - provides both feature detection and enumeration My question was just whether we considered supporting enumeration in addition to feature detection a good or bad thing. I can certainly imagine cases where allowing enumeration causes more problems than benefits. If we don't have any good reason to want to support it, then we should probably prefer the 1) style over the 2) style as a result. --- 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/107#issuecomment-212490771
Received on Wednesday, 20 April 2016 16:03:30 UTC