Closed
Bug 1327306
Opened 7 years ago
Closed 7 years ago
JSON View: "Expanded" array with zero elements doesn't display any value
Categories
(DevTools :: JSON Viewer, defect)
DevTools
JSON Viewer
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1370443
People
(Reporter: arni2033, Unassigned)
References
Details
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Open url https://hg.mozilla.org/mozilla-central/json-pushes?changeset=f8bdceb55c9d&full=1 2. Look at any line with word "tags" AR: Objects named "tags" on the page doen't show values (any expanded array of 0 elements does so) ER: Either X or Y X) Empty array should always display "[]" or "[0]" (removed in bug 1244916) after its name Y) Empty array should always display arrow on the left side to indicate its state (expanded/closed) Notes: 1) X can be fixed in 2 ways, I guess: (a) Disallow "expanding" of empty array (b) Work around by adding exception in the patch from bug 1244912 (i.e. always show summary "[]") 2) Probably empty objects have the same bug (summary "{}" disappears) - should be checked 3) This bug became visible after bug 1244912, thus blocking. Feel free to edit. Pushlog: > https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=40ae8489939e21be81751a5e241f6ab7e2b4d9a2&tochange=c96ec660af96a187b62c5dd5f9bce62c0f2ffeb6
Comment 1•7 years ago
|
||
This is basically what I fixed in bug 1370443. Now the behavior is X.b And yes, {} and null had the same problem, all fixed.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•