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: https://dom.spec.whatwg.org/#interface-nodelist and
https://dom.spec.whatwg.org/#interface-domtokenlist
Platform coverage: all.
Estimated release: Firefox 50.
Devtools bug: none needed.
Other browsers: Chrome is shipping this in stable; no signals from
Safari or Edge.
-Boris
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform