Closed Bug 1656563 Opened 4 years ago Closed 4 years ago

BigInts should be casted to strings

Categories

(DevTools :: JSON Viewer, defect, P3)

79 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1431808

People

(Reporter: bugzilla, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0

Steps to reproduce:

Open any json with long int, for example:

{"value": -6712772909530304045}

Actual results:

This JSON is rendered as:

value -6712772909530305000

This representation is invalid, because js doesn't support long ints.

Expected results:

Value should be casted to string:

value "-6712772909530304045"

The severity field is not set for this bug.
:Honza, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(odvarko)

Thanks for the report!

I can easily reproduce that on my machine.

Honza

Severity: -- → S3
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
Flags: needinfo?(odvarko)
Priority: -- → P3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.