Closed
Bug 1411889
Opened 7 years ago
Closed 7 years ago
Add telemetry to track netmonitor update time on page reload
Categories
(DevTools :: Netmonitor, enhancement, P2)
DevTools
Netmonitor
Tracking
(firefox57 fix-optional, firefox59 fixed)
RESOLVED
FIXED
Firefox 59
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
firefox59 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Bug 1405585 introduced a generic way to track how much time each panel takes to update after a page reload. This bug added support for the inspector. Now all other panels should emit a "reloaded" event on its Panel object whenever it consider it is fully updated after a page reload. This is not obvious and will require specific decision for each tool. Here for the netmonitor, we should wait for all ressources loaded before "load" event to be fully displayed in the netmonitor. We should ignore any XHR or dynamic request.
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Priority: -- → P2
Assignee | ||
Comment 1•7 years ago
|
||
This bug depends on bug 1372115 as the error on the backend side makes it so that some requests (the requests for js files that are put in bytecode case) stay pending for ever in the payload queue and so the precise way I used to determine when the netmonitor is done reloading is broken.
Depends on: 1372115
Comment hidden (mozreview-request) |
Comment 3•7 years ago
|
||
mozreview-review |
Comment on attachment 8928914 [details] Bug 1411889 - Record netmonitor reload time. https://reviewboard.mozilla.org/r/200248/#review206370 Looks good, thanks Alex. R+ Honza
Attachment #8928914 -
Flags: review?(odvarko) → review+
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → poirot.alex
Comment hidden (mozreview-request) |
Comment 5•7 years ago
|
||
mozreview-review |
Comment on attachment 8928914 [details] Bug 1411889 - Record netmonitor reload time. https://reviewboard.mozilla.org/r/200248/#review206754 ::: devtools/client/netmonitor/src/connector/firefox-data-provider.js:235 (Diff revision 2) > getRequestFromQueue(id) { > return this.payloadQueue.find((item) => item.id === id); > } > > /** > + * Tells if there is still any pending request. Add a note like `Public connector API to ...` might helpful for trace code so we know this function is used elsewhere
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Fred Lin [:gasolin] from comment #5) > Add a note like `Public connector API to ...` might helpful for trace code > so we know this function is used elsewhere Done.
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8a58f74c6139 Record netmonitor reload time. r=Honza
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/8a58f74c6139
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 59
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•