[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:28:16 PDT 2010


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





--- Comment #23 from Pavel Feldman <pfeldman at chromium.org>  2010-06-01 05:28:15 PST ---
> > 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).

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