HAR file export still results in an empty file
Categories
(DevTools :: Netmonitor, defect)
Tracking
(firefox97 fixed)
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(1 file)
Bug 1740116's comment 0 still reproduces, but may now require two subsequent reload of the test page to reproduce consistantly.
I did not realized but bug 1740116's patch only fixed one issue specific to cancelled request.
It looks like we also fail generating HAR reports because of iframes being removed.
When removing an iframe, we destroy the related iframe's NetworkEventActors and so can't fetch the related requests lazy data.
We should probably make HAR codebase more resilient to error and start with ignoring individual requests that we are unable to fetch. So that we at least generate the HAR report for everything else.
We may also consider automatically enabling persist when doing HAR record? Or display some warning when retrieving HAR data while persist is disabled.
Assignee | ||
Comment 1•3 years ago
|
||
HAR export was still producing empty har files if any of the request
currently displayed in the netmonitor can't be completely retrieved.
This includes all lazy data. But if any request has been destroyed in the server
fetching any lazy data will throw.
Comment 3•3 years ago
|
||
bugherder |
Description
•