Open Bug 1942072 Opened 23 days ago Updated 18 days ago

long Integers rounding last two digits to '00' in parsed Request/Response JSON in Netmonitor

Categories

(DevTools :: Netmonitor, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

Details

Steps to reproduce

  1. Navigate to https://fx-devtools-netmonitor-json-lossy-number.glitch.me/
  2. Open Netmonitor
  3. Click on the "fetch JSON" button in the page
  4. Select the request in Netmonitor, and select the Response tab (same issue can be seen in the Request tab as the fetch call has a JSON body)

Expected results

The parsed JSON values are the same as the response

Actual results

The values are truncated because we're using JSON.parse (same cause as in JSON Viewer)


What we're doing for the JSON Viewer in Bug 1431808 should be easy to apply to the Netmonitor as well

Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.