Closed
Bug 1426206
Opened 8 years ago
Closed 2 years ago
DAMP tests don't allow waterfall to render
Categories
(DevTools :: Netmonitor, enhancement, P3)
DevTools
Netmonitor
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: ochameau, Assigned: ochameau)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Bug 1425964 helped highlighting a coverage miss for netmonitor DAMP tests.
The waterfall doesn't render until waterfallWidth is set:
https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/widgets/WaterfallBackground.js#52
But waterfallWidth is only set after an idle callback is fired from here:
https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/components/RequestListHeader.js#96-98
Finally, on DAMP, tests are run subsequently without any pause. Thus, preventing any idle callback to be fired.
So all DAMP tests run without any update done to the waterfall.
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8937772 [details]
Bug 1426206 - Ensure rendering the waterfall while running DAMP tests related to netmonitor.
https://reviewboard.mozilla.org/r/208482/#review214412
Nice catch, Thanks Alex!
R+
Honza
Attachment #8937772 -
Flags: review?(odvarko) → review+
Comment 3•8 years ago
|
||
@Alex, shouldn't we land this?
Honza
Flags: needinfo?(poirot.alex)
Priority: -- → P3
Updated•8 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
| Assignee | ||
Comment 4•2 years ago
|
||
I rebased that old patch and it doesn't seem to provide any change.
https://treeherder.mozilla.org/perfherder/comparesubtest?originalProject=try&newProject=try&newRevision=a698b89b920e16176458969c39d3edf16937c359&originalSignature=4763542&newSignature=4763542&framework=12&application=firefox&originalRevision=ae397d2226aa664185666c7a7f46d599f9bd0cac&page=1&showOnlyConfident=1
Let's assume it is no longer relevant.
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(poirot.alex)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•