Closed
Bug 1370443
Opened 7 years ago
Closed 7 years ago
Empty objects not visible in JSON Viewer
Categories
(DevTools :: JSON Viewer, defect)
DevTools
JSON Viewer
Tracking
(firefox56 verified)
VERIFIED
FIXED
Firefox 56
Tracking | Status | |
---|---|---|
firefox56 | --- | verified |
People
(Reporter: Oriol, Assigned: Oriol)
References
Details
Attachments
(1 file, 2 obsolete files)
5.00 KB,
patch
|
Honza
:
review+
|
Details | Diff | Splinter Review |
Load data:application/json,[null,"a"]
null does not appear in the first row until you click.
Load data:application/json,null
The JSON Viewer is blank.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8877857 -
Flags: review?(odvarko)
Assignee | ||
Comment 2•7 years ago
|
||
This also affects [] and {}
Summary: null not visible in JSON Viewer → Empty objects not visible in JSON Viewer
Comment 3•7 years ago
|
||
Comment on attachment 8877857 [details] [diff] [review]
json-empty-object.patch
Review of attachment 8877857 [details] [diff] [review]:
-----------------------------------------------------------------
Looks reasonable!
Honza
Attachment #8877857 -
Flags: review?(odvarko) → review+
Assignee | ||
Comment 4•7 years ago
|
||
I just noticed that long strings are also considered to have children, so checking that the value is an object is still needed.
Attachment #8877857 -
Attachment is obsolete: true
Attachment #8878024 -
Flags: review?(odvarko)
Comment 5•7 years ago
|
||
Comment on attachment 8878024 [details] [diff] [review]
json-empty-object.patch
Review of attachment 8878024 [details] [diff] [review]:
-----------------------------------------------------------------
LGTM
Attachment #8878024 -
Flags: review?(odvarko) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 6•7 years ago
|
||
Sorry, forgot to run eslint after creating the test.
Attachment #8878024 -
Attachment is obsolete: true
Attachment #8878037 -
Flags: review?(odvarko)
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Updated•7 years ago
|
Attachment #8878037 -
Flags: review?(odvarko) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/10706eb84655
Do not hide the summary when expanding an empty object in JSON Viewer. r=Honza
Keywords: checkin-needed
Comment 8•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 56
Comment 10•7 years ago
|
||
I have reproduced this Bug with Nightly 55.0a1 (2017-06-05) on Windows 10, 64 Bit!
The bug's fix is now verified on latest Nightly 56.0a1
Build ID 20170628030206
User Agent Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0
QA Whiteboard: [bugday-20170628]
Comment 11•7 years ago
|
||
I have reproduced this bug with Nightly 55.0a1 (2017-06-05) (64-bit) on Ubuntu 16.04 LTS!
This bug's fix is verified with latest Nightly!
Build ID : 20170629100321
User Agent : Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
[bugday-20170628]
Assignee | ||
Updated•7 years ago
|
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•