Closed
Bug 1417409
Opened 8 years ago
Closed 8 years ago
Statistics panel doesn't produce any data
Categories
(DevTools :: Netmonitor, defect, P1)
DevTools
Netmonitor
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: Honza, Unassigned)
References
Details
STR:
1) load any page
2) Open the Toolbox, select the Net panel and click on the 'Analyze' button
3) The statistics panel doesn't show any results.
Honza
| Reporter | ||
Comment 1•8 years ago
|
||
@Alex: could this regression be caused by the recent lazy loading
of the response body? (bug 1404917)
Honza
Flags: needinfo?(poirot.alex)
Priority: -- → P1
Comment 2•8 years ago
|
||
This is because contentSize here is undefined for some requests:
https://searchfox.org/mozilla-central/rev/a662f122c37704456457a526af90db4e3c0fd10e/devtools/client/netmonitor/src/components/StatisticsPanel.js#77
req.contentSize !== undefined && req.mimeType && req.responseHeaders &&
And so the request isn't considered as ready and we wait before updating the stats.
contentSize is undefined because for some request we never get `responseContent` event and never trigger this code, which sets it:
https://searchfox.org/mozilla-central/rev/a662f122c37704456457a526af90db4e3c0fd10e/devtools/client/netmonitor/src/connector/firefox-data-provider.js#413
It looks unrelated to bug 1404917 as it should change much contentSize behavior.
I tried reverting it locally and Stats panel still fails.
It looks more related to bug 1372115, which clearly breaks responseContent events.
And if I apply bug 1372115 comment 8 patch, Stats panel works again.
Flags: needinfo?(poirot.alex)
| Reporter | ||
Comment 4•8 years ago
|
||
Bug 1372115 has been fixed and the Stats view works as expected, closing.
Honza
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•