Closed Bug 1946709 Opened 2 months ago Closed 2 months ago

JSON view shows MAX_LONG incorrectly

Categories

(Firefox :: Untriaged, defect)

Firefox 134
defect

Tracking

()

RESOLVED DUPLICATE of bug 1431808

People

(Reporter: ingo.reise, Unassigned)

Details

Attachments

(1 file)

Attached image maxLong.PNG

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0

Steps to reproduce:

Show this minimal JSON file in the JSON view:
[{"maxLongInteger":9223372036854775807}]

Note: That's 2^63-1, the largest possible value of a signed 64bit integer

Actual results:

JSON view shows 9223372036854776000 instead of 9223372036854775807. See attachment
This number is even bigger than MAX_LONG and doesn't fit into a 64bit-signed.
Raw Data view shows the correct value

Expected results:

Show the correct value in both views.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1431808
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: