Open
Bug 1843438
Opened 3 years ago
Updated 3 months ago
Use an actual HTML file for JSON Viewer
Categories
(DevTools :: JSON Viewer, task, P3)
DevTools
JSON Viewer
Tracking
(Not tracked)
NEW
People
(Reporter: ochameau, Unassigned)
References
Details
Attachments
(1 external file)
With work from bug 1792803, we should be able to replace the HTML string with an actual HTML file:
https://searchfox.org/mozilla-central/rev/1cfd3a3bc76a8d09cb4266576f30802753a80c83/devtools/client/jsonview/converter-child.js#324-355
This would better align with how PDF.JS is implemented and reduce the implementation differences between the two codebases.
| Reporter | ||
Comment 1•3 years ago
|
||
This avoid having to build up the HTML page as a string in the converter.
This aligns JSON Viewer with PDF.js.
The main issue is that the JSON file request runs in parallel with the JSON Viewer HTML page load.
So we have to coordinate the two via tryFlushingDataToJsonViewerDocument.
Updated•1 year ago
|
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•