Closed Bug 1235725 Opened 8 years ago Closed 8 years ago

JSON Viewer breaks page ends with .json

Categories

(DevTools :: JSON Viewer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1235118

People

(Reporter: xidorn, Unassigned)

References

Details

Not all pages with .json in the end is really a JSON file. It is especially true for source code viewing.

Pages like:
https://github.com/w3c/wpt-tools/blob/master/scripts/package.json or
https://dxr.mozilla.org/mozilla-central/source/testing/talos/talos.json
are perfect html pages, which are treated as JSON and broken on Firefox Developer Edition.

This is only reproducible on Firefox Developer Edition, which I guess is because only DE has "devtools.jsonview.enabled" set to true by default.

I guess it is a regression from bug 1230544.
Flags: needinfo?(odvarko)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Work in progress in bug 1235118.

Honza
Flags: needinfo?(odvarko)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.