Closed Bug 1384842 Opened 7 years ago Closed 7 years ago

Support for application/hal+json

Categories

(DevTools :: JSON Viewer, defect, P3)

defect

Tracking

(firefox57 fix-optional, firefox58 fixed)

RESOLVED FIXED
Tracking Status
firefox57 --- fix-optional
firefox58 --- fixed

People

(Reporter: nchevobbe, Unassigned)

References

Details

_kud reported on Slack that the JSON Viewer does not render JSON served with this content type (http://stateless.co/hal_specification.html). Steps to reproduce: 1. Go to https://nippy-share.glitch.me/ 2. Click the "Show JSON HAL" Expected results: The JSON is shown in the tab Actual results: A download dialog appears. Adding `application/hal+json` in http://searchfox.org/mozilla-central/search?q=const+JSON_TYPES+%3D+%5B%22application%2Fjson%22%2C+%22application%2Fmanifest%2Bjson%22%5D%3B&case=true&regexp=false&path=devtools should add support for this type in the JSON Viewer.
Also see bug 1258906. Maybe all application/whatever+json should load the JSON Viewer?
(In reply to Oriol [:Oriol] from comment #1) > Also see bug 1258906. Maybe all application/whatever+json should load the > JSON Viewer? +1
Depends on: 1388335
Has STR: --- → yes
Priority: -- → P3
Fixed in bug 1388335.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.