- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 10 Apr 2012 13:13:34 -0700
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: public-webapps@w3.org
On Tue, Apr 10, 2012 at 12:39 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote: > On 4/10/12 3:35 PM, Alan Stearns wrote: >> What is this group's API preference for a set of objects identified by >> name? > > The real question is what the use cases are, no? The NamedFlowMap approach > doesn't provide a good way to enumerate the named flows; if that's a use > case that needs supporting, then you need API that allows it. According to current WebIDL spec, an object with a named property getter exposes the list of names as own properties, so you can get them with for-in enumeration. ~TJ
Received on Tuesday, 10 April 2012 20:14:24 UTC