Bug 114810 - Web Inspector: console.table isn't taking more than 5 named columns per row.
Summary: Web Inspector: console.table isn't taking more than 5 named columns per row.
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-18 06:05 PDT by David Mulder
Modified: 2014-12-13 13:32 PST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Mulder 2013-04-18 06:05:34 PDT
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
Comment 1 Brian Burg 2014-12-13 13:32:45 PST
console.table does not receive special rendering in the UI right now, so this bug does not really make sense any more.