[Webkit-unassigned] [Bug 131443] querySelectorAll should return an iterable NodeList

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 14 17:06:10 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=131443

--- Comment #11 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to comment #10)
> (In reply to comment #9)
> > for (var e of document.all)
> >   console.log(e)
> > 
> > needs to work.  Someone from JSC team should be able to tell us what we need
> > to make an object iterable.
> 
> document.all ??

Oh oops, this is about querySelectorAll, so it should be:

for (var e of document.querySelectorAll('*'))
  console.log(e)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160415/f64b57fe/attachment-0001.html>


More information about the webkit-unassigned mailing list