[Bug 23212] Add iterator support to NodeList, HTMLCollection, DOMTokenList, and DOMSettableTokenList

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23212

Boris Zbarsky <bzbarsky@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bzbarsky@mit.edu,
                   |                            |cam@mcc.id.au

--- Comment #2 from Boris Zbarsky <bzbarsky@mit.edu> ---
Why did you add legacyiterable to HTMLCollection?  Especially without defining
the actual resulting behavior?  It's iterable anyway, because it has an indexed
getter, and the resulting behavior seems just fine to me.

Similar for NamedNodeMap, though there you spelled it wrong too.

Adding iterable<> to DOMTokenList at least makes some sense if the goal is to
get the extra methods...  But the fact that it forces the use of a different
iterator is pretty annoying.  Cameron, could we have a way of getting the extra
methods on something with an indexed getter without having to redefine the
array iterator behavior?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 5 October 2014 03:00:54 UTC