Closed
Bug 1281490
Opened 8 years ago
Closed 2 years ago
JSON Viewer slow when opening large arrays.
Categories
(DevTools :: JSON Viewer, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1363222
People
(Reporter: gregtatum, Unassigned)
References
Details
STR:
* Open https://quake.bethesda.net/assets/static/three-logo/Q.json
* Open the faces node.
Expected Behavior:
* It should only load the first 100 or so children, and have a button to show more like in the console.
Actual Behavior:
* The browser hangs for a long time as it tries to add all the nodes.
* Eventually it completes.
Reporter | ||
Updated•8 years ago
|
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Updated•8 years ago
|
Priority: -- → P2
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 2•6 years ago
|
||
The initial test case seems to be gone. A new test case is available at https://bug1159078.bmoattachments.org/attachment.cgi?id=9032091.
I see two solutions:
1. Limit the output. (Not sure whether limiting to a specific number of nodes works, depends on whether the contents of the nodes are only displayed when it's expanded.)
2. Only display the output in raw form when the size of the response exceeds a specific size. (The output may be truncated if it's too long, but I guess that's rather covered in bug 1159078.)
Sebastian
Updated•2 years ago
|
Severity: normal → S3
Comment 3•2 years ago
|
||
This looks like a duplicate of bug 1363222, can we close this one in favor of that?
Flags: needinfo?(odvarko)
Comment 4•2 years ago
|
||
Yes, I think we can close this report (it's the same underlying issue).
Again, thank you for helpin with the JSON Viewer, Zachary!
Honza
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(odvarko)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•