Open
Bug 1408355
Opened 7 years ago
Updated 2 years ago
Improve showToolbox resolution on netmonitor
Categories
(DevTools :: Netmonitor, enhancement, P3)
DevTools
Netmonitor
Tracking
(firefox57 fix-optional)
NEW
Tracking | Status | |
---|---|---|
firefox57 | --- | fix-optional |
People
(Reporter: ochameau, Unassigned)
References
(Blocks 1 open bug)
Details
gDevTools.showToolbox resolves too early for the netmonitor.
The already loaded requests are not displayed in the request list.
We should at least try to resolve showToolbox only once theses are displayed.
The request that are still pending or done while the toolbox is loading is another story.
We should do that to improve the telemetry probe and netmonitor.open DAMP test.
showToolbox resolves one this method resolves:
http://searchfox.org/mozilla-central/source/devtools/client/netmonitor/panel.js#13-23
In order to debug that, you can compute a screenshot at any point with this code:
let window = Services.wm.getMostRecentWindow(null);
let canvas = window.document.createElementNS("http://www.w3.org/1999/xhtml", "html:canvas");
let context = canvas.getContext("2d");
canvas.width = window.innerWidth;
canvas.height = window.innerHeight;
context.drawWindow(window, 0, 0, canvas.width, canvas.height, "rgb(255, 255, 255)");
dump(">> "+canvas.toDataURL()+"\n");
Updated•7 years ago
|
status-firefox57:
--- → fix-optional
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•