Closed Bug 1543311 Opened 7 years ago Closed 7 years ago

JSON viewer is displaying numbers incorrectly

Categories

(DevTools :: JSON Viewer, defect)

66 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1431808

People

(Reporter: fenhl, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

With the built-in JSON viewer, I looked at an API endpoint that produced the following raw JSON:

{
"list": [
283718901219590145
],
"main": true,
"running": true,
"version": "1.13.2"
}

Actual results:

The JSON viewer displayed the data like this (see also the attached screenshot):

list
0 283718901219590140
main true
running true
version "1.13.2"

Expected results:

The entry at at .list.0 should say 283718901219590145, not 283718901219590140 (note the difference in the last digit).

Component: Untriaged → JSON Viewer
Product: Firefox → DevTools

dupe of bug 1431808.
see bug 1512939 comment #1 for the details.

Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: