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)

defect

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 27

People

(Reporter: st3fan, Assigned: past)

References

Details

Attachments

(1 file, 1 obsolete file)

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.
(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
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.
(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.
OS: Mac OS X → All
Hardware: x86 → All
Priority: -- → P2
Attached patch Ignore non-enumerable properties (obsolete) (deleted) — Splinter Review
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: nobody → past
Status: NEW → ASSIGNED
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.
Depends on: 926501
This works and passes all tests.
Attachment #818325 - Flags: review?(vporof)
Attachment #816592 - Attachment is obsolete: true
Attachment #818325 - Flags: review?(vporof) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 27
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: