Closed Bug 1840240 Opened 1 year ago Closed 1 year ago

Incorrect data is display in JSON viewer when pretty printing

Categories

(DevTools :: JSON Viewer, defect)

Firefox 114
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1431808

People

(Reporter: ngoclong19, Unassigned)

Details

Attachments

(1 file)

Attached image screenshots

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

Steps to reproduce:

  • Load this address:
    https://asf.justarchi.net/Api/Listing/Bots
  • The result is displayed in Firefox's JSON viewer.
  • Expand the first element: Result --> 0.
  • Click JSON tab, observe the SteamID attribute with pretty printing.
  • Click Raw data tab, observe the SteamID attribute without pretty printing.
  • In Raw data tab, click Pretty print button, observe the SteamID attribute with pretty printing.

Actual results:

When pretty printing is enable, the display value is incorrect.
For example, 76561198025866234 is displayed as 76561198025866240.

Expected results:

The display value should be correct, regardless of pretty printing.

Component: Untriaged → JSON Viewer
Product: Firefox → DevTools
Status: UNCONFIRMED → RESOLVED
Closed: 1 year 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: