Simple Test in the console: ENTER: document.getElementsByTagName('body') SEE: The result we want to reproduce with console.dirxml ENTER: console.dirxml(document.getElementsByTagName('body')) SEE: same output as console.log ENTER: console.log(document.getElementsByTagName('body')) SEE: same output as console.dirxml Tested with latest Canary on OSX
Strictly speaking, document.getElementsByTagName('body') is an array, so you can't dirxml it. But I think we could support the array of nodes case.
Created attachment 178208 [details] Patch
Comment on attachment 178208 [details] Patch Clearing flags on attachment: 178208 Committed r137121: <http://trac.webkit.org/changeset/137121>
All reviewed patches have been landed. Closing bug.