Re: Intent to implement and ship: Iterable declarations on NodeList and DOMTokenList

2016-08-02 Thread Boris Zbarsky
On 8/2/16 8:32 AM, masataka.yak...@gmail.com wrote: It looks like WebKit landed support recently. https://trac.webkit.org/changeset/203222 https://trac.webkit.org/changeset/203728 Ah, thanks. I just checked a WebKit nightly, and yes, they support it in a way compatible with our implementation

Re: Intent to implement and ship: Iterable declarations on NodeList and DOMTokenList

2016-08-02 Thread masataka . yakura
On Saturday, July 30, 2016 at 11:41:23 AM UTC+9, Boris Zbarsky wrote: > Summary: The idea is to have keys/entries/values/forEach methods on > these two interfaces, so you can do things like: > >document.querySelectorAll("whatever").forEach(someFunc) > > and > >document.body.classList.fo

Re: Intent to implement and ship: Iterable declarations on NodeList and DOMTokenList

2016-07-31 Thread Eric Shepherd
PM EDT *To:* dev-platform@lists.mozilla.org *Subject:* Intent to implement and ship: Iterable declarations on NodeList and DOMTokenList > Summary: The idea is to have keys/entries/values/forEach methods on > these two interfaces, so you can do things like: > > document.querySelectorA

Re: Intent to implement and ship: Iterable declarations on NodeList and DOMTokenList

2016-07-30 Thread smaug
+1 On 07/30/2016 05:41 AM, Boris Zbarsky wrote: Summary: The idea is to have keys/entries/values/forEach methods on these two interfaces, so you can do things like: document.querySelectorAll("whatever").forEach(someFunc) and document.body.classList.forEach(someFunc) Bug: https://bugz

Intent to implement and ship: Iterable declarations on NodeList and DOMTokenList

2016-07-29 Thread Boris Zbarsky
Summary: The idea is to have keys/entries/values/forEach methods on these two interfaces, so you can do things like: document.querySelectorAll("whatever").forEach(someFunc) and document.body.classList.forEach(someFunc) Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1290636 Standard: h