Closed Bug 1370060 Opened 9 years ago Closed 9 years ago

JSON built-in viewer alters data

Categories

(DevTools :: JSON Viewer, defect)

53 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1224071

People

(Reporter: terminaleandroid, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170518000419 Steps to reproduce: Was testing my own web service with Firefox 53.0.3, getting fairly large JSON responses (~100kb). Sorry, I can't make the service publicly available, but you just need to know that it returns a quite simple array of ~1000 elements. Actual results: MOST of the times the built-in JSON view is detecting an error in the resulting JSON at some random position (it changes every time I hit refresh). The response from the server, however, is supposed to be correct and exactly the same each time and in fact, by capturing TCP datagrams, I discovered that the retrieved data was fine, the missing/misplaced characters were just displayed in Firefox. These errors seem to occur inbetween two TCP datagrams. Interestingly enough, the problem disappeared when I enabled http compression from the server. JSONView extension didn't seem to have the same problem. Expected results: Retrieved JSON is correct and should be parsed by the built-in viewer just fine.
Component: Untriaged → Developer Tools: JSON Viewer
Forgot to mention that this doesn't happen when I test the same web service on localhost
This seems a duplicate of bug 1224071 and should have been fixed by bug 1367894.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.