Open Bug 1424088 Opened 8 years ago Updated 3 years ago

Update test helper waitUntil default interval

Categories

(DevTools :: General, enhancement, P3)

58 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

Details

shared-head.js::waitUntil [1] is a helper that returns a promise that resolves when a given predicate returns true. It does so by running the predicate every X ms. The default interval used in waitUntil is 10ms. Depending on the platform where the test is running, this can stress the platform. We could increase this default value to something like 100ms. Follow up to Bug 1386613 [1] https://searchfox.org/mozilla-central/rev/f5f1c3f294f89cfd242c3af9eb2c40d19d5e04e7/devtools/client/framework/test/shared-head.js#453
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.