Closed
Bug 1721898
Opened 3 years ago
Closed 3 years ago
Support async conditions in {SimpleTest,ContentTaskUtils}.waitForCondition
Categories
(Testing :: Mochitest, enhancement)
Testing
Mochitest
Tracking
(firefox92 fixed)
RESOLVED
FIXED
92 Branch
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
Details
Attachments
(1 file)
No description provided.
Assignee | ||
Comment 1•3 years ago
|
||
This is already the behaviour of TestUtils.waitForCondition.
Unfortunately it appears that a couple of callers were already passing async
functions as the condition to waitForCondition, which was leading to the
conditions being immediately considered fulfilled. A couple of these tests
unfortunately do not pass with a correctly behaving waitForCondition, and have
been updated to comment out the failing code.
Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/400c0efd5758 Support async conditions in {SimpleTest,ContentTaskUtils}.waitForCondition, r=kmag
Comment 3•3 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox92:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 92 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•