Closed Bug 1426206 Opened 8 years ago Closed 2 years ago

DAMP tests don't allow waterfall to render

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

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 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+
Depends on: 1426688
Blocks: 1419327
@Alex, shouldn't we land this? Honza
Flags: needinfo?(poirot.alex)
Priority: -- → P3
Product: Firefox → DevTools
Severity: normal → S3
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.

Attachment

General

Created:
Updated:
Size: