W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2014

Re: [whatwg] NodeList.forEach/map/filter still doesn't work

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 04 Jan 2014 13:25:41 -0500
Message-ID: <52C85225.6050302@mit.edu>
To: whatwg@lists.whatwg.org
On 1/4/14 1:17 PM, David Bruant wrote:
> I imagine the only thing they need is the engineering time both to
> implement it

It's a one-line change in Firefox.

> and keep an eye open on their bug tracker to see if a
> website breaks because of this change

This is the problem.  Just watching for bug report is not really enough 
here...  It's hard to say whether this change can safely be made without 
breaking stuff.  :(

Note also that we can't really do this for HTMLCollection, only 
NodeList.  Which is enough for querySelector, of course.

> How is your C++ and more importantly, what's the amount of time and
> patience you can put on evangelism? ;-)

The latter, and not just evangelism, but compat testing, is what really 
matters.  Adding this stuff to NodeList in Gecko doesn't even need any 
C++ changes; it looks like this:

--- a/dom/webidl/NodeList.webidl
+++ b/dom/webidl/NodeList.webidl
@@ -12,3 +12,2 @@

  interface NodeList {

Received on Saturday, 4 January 2014 18:26:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:15 UTC