Closed
Bug 1942072
Opened 1 year ago
Closed 1 year ago
long Integers rounding last two digits to '00' in parsed Request/Response JSON in Netmonitor
Categories
(DevTools :: Netmonitor, defect, P2)
DevTools
Netmonitor
Tracking
(firefox137 fixed)
RESOLVED
FIXED
137 Branch
| Tracking | Status | |
|---|---|---|
| firefox137 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
Details
Attachments
(1 file)
Steps to reproduce
- Navigate to https://fx-devtools-netmonitor-json-lossy-number.glitch.me/
- Open Netmonitor
- Click on the "fetch JSON" button in the page
- 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
Updated•1 year ago
|
Severity: -- → S3
Priority: -- → P2
| Assignee | ||
Comment 1•1 year ago
|
||
This is doing the same thing we added not long ago in the JSON Viewer.
Updated•1 year ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cefe052b69df
[devtools] Display JSON source number when it's different from JS parsed value in Netmonitor. r=devtools-reviewers,jdescottes
Comment 3•1 year ago
•
|
||
Backed out for causing dt failures on browser_metrics_webconsole.js
Flags: needinfo?(nchevobbe)
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5ec455785075
[devtools] Display JSON source number when it's different from JS parsed value in Netmonitor. r=devtools-reviewers,jdescottes
Comment 6•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox137:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•