[w3c/WebPlatformWG] Make XPathResult (returned document.evaluate(...)) iterable (#97)

This will make `for (let x of document.evaluate(...))` possible instead of the current pseudo old-school non-ECMAScript-compatible iterator that `XPathResult` currently is.

A basic and probably incomplete polyfill -
https://github.com/phistuck/monorail-enhancer-extension/blob/9e6b0b645d2df97b2e6717a35712a0d6b6229532/injector.js#L12-L29

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/WebPlatformWG/issues/97

Received on Friday, 8 September 2017 16:19:55 UTC