Closed Bug 964977 Opened 6 years ago Closed 6 years ago

Infer JSON from response

Categories

(DevTools :: Netmonitor, defect)

x86
macOS
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 30

People

(Reporter: rcampbell, Assigned: vporof)

Details

(Whiteboard: [chrome-parity] [qa-])

Attachments

(1 file)

possibly related to bug 859138.

We should do better at inferring when a response is JSON but returned as with plaintext MIME type. See Firebug / Chrome.
We could... brutally do a JSON.parse on plain-text responses and see what happens? :)
Attached patch v1Splinter Review
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Attachment #8369052 - Flags: review?(rcampbell)
Comment on attachment 8369052 [details] [diff] [review]
v1

Review of attachment 8369052 [details] [diff] [review]:
-----------------------------------------------------------------

looks good
Attachment #8369052 - Flags: review?(rcampbell) → review+
https://hg.mozilla.org/integration/fx-team/rev/118701a7fadd
Whiteboard: [chrome-parity] → [chrome-parity][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/118701a7fadd
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Whiteboard: [chrome-parity][fixed-in-fx-team] → [chrome-parity]
Target Milestone: --- → Firefox 30
Whiteboard: [chrome-parity] → [chrome-parity] [qa-]
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.