[Webkit-unassigned] [Bug 38664] Web Inspector: add a "table" method to console, to allow output of tabular data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 1 05:32:59 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38664





--- Comment #24 from Jan Odvarko <odvarko at gmail.com>  2010-06-01 05:32:57 PST ---
(In reply to comment #23)
> > > a) console.table(data, ["age"]);
> > > Can we support both (a) and (b) below based on the typeof column specifier?
> > Not sure what you mean by "typeof column specifier"
> > > b) console.table(data, "My Family", [{ property: "age", sort: "ascending", 
> 
> I mean that if the value specifying the column in array is of type "string", we consider it a name of the property and allow short notation (a). If it is of type "object", we consider it of the form { property: "foo", etc. } and hence allow full notation (b).
I like this.

Honza

-- 
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