Closed Bug 1949793 Opened 10 months ago Closed 10 months ago

Please show the size of arrays when they're not expanded

Categories

(DevTools :: JSON Viewer, enhancement)

enhancement

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: julienw, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

It would be good to show the sizes of arrays in the json viewer. The Web Console shows them and I find it useful.
Thanks!

Such an example is https://firefoxci.taskcluster-artifacts.net/XA-uJyFdSJKZv_WlDez_nw/0/public/test_info/browsertime-results/speedometer3/pages/127_0_0_1/index.html/data/profile_power_1.json, but this artifact might disappear soon. I can't attach it here because it's too big.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fac980cc9810 [devtools] Display length bubble in ArrayRep, like we do for GripArrayRep. r=devtools-reviewers,jdescottes.

Backed out for causing devtools failures in browser_net_params_sorted.js.

  • Backout link
  • Push with failures
  • Failure Log
  • Failure line: TEST-UNEXPECTED-FAIL | devtools/client/netmonitor/test/browser_net_params_sorted.js | Actual value watches (5)[…] is equal to the expected value watches […] - Got "watches\t(5)[…]", expected "watches\t[…]"
Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6df9256aa0bc [devtools] Display length bubble in ArrayRep, like we do for GripArrayRep. r=devtools-reviewers,jdescottes.
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
Flags: needinfo?(nchevobbe)
Blocks: 1950865
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: