Closed
Bug 1384842
Opened 7 years ago
Closed 7 years ago
Support for application/hal+json
Categories
(DevTools :: JSON Viewer, defect, P3)
DevTools
JSON Viewer
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®exp=false&path=devtools should add support for this type in the JSON Viewer.
Comment 1•7 years ago
|
||
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
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Fixed in bug 1388335.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•