Bug 167175 - Web Inspector: console.table only works for the first 5 properties
Summary: Web Inspector: console.table only works for the first 5 properties
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 14:27 PST by Joseph Pecoraro
Modified: 2017-01-18 21:07 PST (History)
6 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (10.89 KB, patch)
2017-01-18 14:29 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2017-01-18 14:27:36 PST
Summary:
console.table only works for the first 5 properties

Steps to Reproduce:
1. js> console.table( performance.getResourcesOfType("resource") )
  => Only shows a few properties
2. js> console.table( performance.getResourcesOfType("resource"), ["initiatorType", "name"] )
  => "initiatorType" column works but "name" column doesn't work

Notes:
- Backend is limiting to the first 5 properties. It should send more (especially if the frontend is going to do the filtering which is currently the case)
- Frontend limits to showing max of 10 columns, we can up that.
Comment 1 Joseph Pecoraro 2017-01-18 14:29:52 PST
Created attachment 299184 [details]
[PATCH] Proposed Fix
Comment 2 WebKit Commit Bot 2017-01-18 21:07:21 PST
Comment on attachment 299184 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 299184

Committed r210910: <http://trac.webkit.org/changeset/210910>
Comment 3 WebKit Commit Bot 2017-01-18 21:07:25 PST
All reviewed patches have been landed.  Closing bug.