[Webkit-unassigned] [Bug 38664] New: Web Inspector: add a "table" method to console, to allow output of tabular data
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 6 10:59:24 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38664
Summary: Web Inspector: add a "table" method to console, to
allow output of tabular data
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: pmuellr at yahoo.com
CC: timothy at hatcher.name, rik at webkit.org,
keishi at webkit.org, pmuellr at yahoo.com,
joepeck at webkit.org, pfeldman at chromium.org,
yurys at chromium.org, bweinstein at apple.com
Requirement comes from the wildfire/firephp work. See bug 30897 more info.
Both Wildfire -
http://framework.zend.com/manual/en/zend.log.writers.html#zend.log.writers.firebug
(scroll down for "Table Logging") - and FirePHP -
http://www.firephp.org/HQ/Use.htm (scroll down for "Logging Messages / Tables")
- have support to log tabular information.
We should just go ahead and add this support to the console object directly,
since it would be useful in other contexts.
Thoughts:
- method: console.table(array2D)
- array2D is expected to be an array of arrays (or array-like things)
- top-level array is the list of rows
- table size should be #rows x max(length of 2nd level arrays)
- first row are the column headers
- initially just use toString() on the cell elements, maybe expand to full
object later
- alternate row coloring, like other tables in WI
- left-align strings, right-align other primitives
- column sorting (prolly add later)
- allow collapsing to just 1st row (column headings)
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list