Closed
Bug 862344
Opened 12 years ago
Closed 11 years ago
Hide non-enumerable properties of parsed JSON in the network details
Categories
(DevTools :: Netmonitor, defect, P2)
DevTools
Netmonitor
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 27
People
(Reporter: st3fan, Assigned: past)
References
Details
Attachments
(1 file, 1 obsolete file)
3.21 KB,
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
It is really nice to have a structured view of JSON responses in the Response tab.
Two requests though:
* Would it be possible to filter out the __proto__ entries? With heavily nested JSOn that is a lot of extra stuff that is not really part of the JSON response anyway.
* Would it be possible to see the raw request instead? I would like to see the response in plain unformatted text.
Comment 1•12 years ago
|
||
(In reply to Stefan Arentz [:st3fan] from comment #0)
>
> * Would it be possible to filter out the __proto__ entries? With heavily
> nested JSOn that is a lot of extra stuff that is not really part of the JSON
> response anyway.
Ok. I believe it would be useful to have this under a pref though.
> * Would it be possible to see the raw request instead? I would like to see
> the response in plain unformatted text.
Yes, there's bug 859138 filed.
Summary: JSON in the network details → Hide non-enumerable properties of parsed JSON in the network details
Reporter | ||
Comment 2•12 years ago
|
||
Why under a pref? It makes no sense to show this info. It is not part of the original response and has nothing to do with JSON.
Comment 3•12 years ago
|
||
(In reply to Stefan Arentz [:st3fan] from comment #2)
> Why under a pref? It makes no sense to show this info. It is not part of the
> original response and has nothing to do with JSON.
Off by default.
Updated•12 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Updated•12 years ago
|
Priority: -- → P2
Assignee | ||
Comment 5•11 years ago
|
||
Sadly this patch isn't all that is needed for this bug. I'm trying to understand why the JSON object pane appears empty even though no error is thrown, but I'm failing so far.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → past
Status: NEW → ASSIGNED
Comment 6•11 years ago
|
||
Might be a variables view bug. Since the structure is Scope -> empty variable -> properties, the empty variable might be considered non-enumerable, thus hidden, thus emptiness.
Assignee | ||
Comment 7•11 years ago
|
||
This works and passes all tests.
Attachment #818325 -
Flags: review?(vporof)
Assignee | ||
Updated•11 years ago
|
Attachment #816592 -
Attachment is obsolete: true
Updated•11 years ago
|
Attachment #818325 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 9•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•