On Tue, Apr 10, 2012 at 12:39 PM, Boris Zbarsky <[email protected]> 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
