Bug 114810
Summary: | Web Inspector: console.table isn't taking more than 5 named columns per row. | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Mulder <david.mulder> |
Component: | Web Inspector (Deprecated) | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | burg, david.mulder, joepeck, pfeldman, timothy |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
David Mulder
Bug 109453 implements the table function of the console object, however any columns after the fifth column of each row are ignored. This can be easily seen when executing the following line from the console:
console.table([{a:1, b:2, c:3, d:4, e:5, f:6, g:7},{h:1, i:2, j:3, k:4, l:5, m:6, n:7}]);
F, G, M and N aren't visible at all. Logging unnamed columns works fine ( console.table([[1, 2, 3, 4, 5, 6, 10],[1, 2, 3, 4, 5, 6, 10]]); ).
Additionally I would like to point out that logging long strings will cause the striped background to get misaligned with the rows:
console.table([["abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz","abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz","abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz","abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz","abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz","abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz","abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz"]]);
I hope this will get resolved soon, because if properly used this is an incredibly incredibly useful feature!
Thank you very much,
David Mulder
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Brian Burg
console.table does not receive special rendering in the UI right now, so this bug does not really make sense any more.