RESOLVED FIXED104245
Web Inspector: console broken? - console.dirxml behaves like console.log
https://bugs.webkit.org/show_bug.cgi?id=104245
Summary Web Inspector: console broken? - console.dirxml behaves like console.log
Sacha
Reported 2012-12-06 02:14:54 PST
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
Attachments
Patch (5.21 KB, patch)
2012-12-07 05:54 PST, Pavel Feldman
no flags
Pavel Feldman
Comment 1 2012-12-07 05:32:17 PST
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.
Pavel Feldman
Comment 2 2012-12-07 05:54:22 PST
WebKit Review Bot
Comment 3 2012-12-10 01:39:32 PST
Comment on attachment 178208 [details] Patch Clearing flags on attachment: 178208 Committed r137121: <http://trac.webkit.org/changeset/137121>
WebKit Review Bot
Comment 4 2012-12-10 01:39:35 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.