(tests) make nodesFromRect.js print a list of nodes that were found
Created attachment 192104 [details] Patch
Comment on attachment 192104 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192104&action=review > LayoutTests/fast/dom/nodesFromRect/resources/nodesFromRect.js:21 > + for (var i = 0; i < nodes.length; i++) { I would have omitted the {}
Comment on attachment 192104 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192104&action=review > LayoutTests/fast/dom/nodesFromRect/resources/nodesFromRect.js:23 > if (nodes.length != list.length) { > + var foundNodes = []; > + for (var i = 0; i < nodes.length; i++) { > + foundNodes.push(nodes[i].localName); > + } Couldn't you move the logic that makes a string out of a list of nodes from nodesFromRectAsString to a separate method, and reuse that? It would give you more than the localname.
Comment on attachment 192104 [details] Patch Nice! I didn't notice that prettyprinting code there. I'll reuse it.
Created attachment 192235 [details] Patch
Comment on attachment 192235 [details] Patch LGTM
Comment on attachment 192235 [details] Patch Clearing flags on attachment: 192235 Committed r145364: <http://trac.webkit.org/changeset/145364>
All reviewed patches have been landed. Closing bug.