Closed
Bug 1372574
Opened 8 years ago
Closed 8 years ago
JSON viewer in Developer edition 54.0b14 (32 and 64 bits)
Categories
(DevTools :: JSON Viewer, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1224071
People
(Reporter: m.martel, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID: 20170605125726
Steps to reproduce:
I loaded a URL that produces JSON outputs (our API). All works well in 54.0a2 (2017-05-10) or older and also in other browsers.
Actual results:
When I updated to 54.0b14, the same JSON output now has multiple issues, random error on each load. Sometimes I get "SyntaxError: JSON.parse: expected ':' after property name in object at line 1 column 17315 of the JSON data", then a reload I will get something like "SyntaxError: JSON.parse: bad Unicode escape at line 1 column 69816 of the JSON data", then "SyntaxError: JSON.parse: unexpected character at line 1 column 20232 of the JSON data". This only happens in the JSON viewer. The JSON Result in the Network Debugger tab is fine. There is not encoding issues or missing characters what so ever in my results.
Sometimes I get a JSON formatted output, but keys are replaced with parts of values and values not well formatted. For instance {"company_survey":[{"name":"John Doe"}]} sometimes will display {"compaohn": Doe"}]}
Like I said, in the Network Debugging tab, the result is fine and in other browsers it is also fine.
Expected results:
The expected result would be exactly what I had in 54.0a2 (2017-05-10) or older, which is a normal JSON output.
Comment 1•8 years ago
|
||
This seems a duplicate of bug 1224071, fixed by bug 1367894.
However, that already existed much before Firefox 54.
Can you check if it is fixed on latest nightly?
Otherwise, the JSON file and a mozregression bisection would be helpful.
Reporter | ||
Comment 2•8 years ago
|
||
Well I never got that problem, as mentioned, in the previous build and older builds. I only got this when I did the update some short time ago. It is not a JSON file, it's JSON output from a PHP script.
The 55.0b1 build seems to be ok! Thanks.
Comment 3•8 years ago
|
||
OK, closing this, then.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•