Closed Bug 1686130 Opened 3 years ago Closed 3 years ago

SpecialPowers.promiseTimeout appears to drop the delay argument

Categories

(Testing :: Mochitest, defect)

Default
defect

Tracking

(firefox86 fixed)

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: kats, Assigned: kats)

References

Details

Attachments

(2 files)

https://searchfox.org/mozilla-central/rev/31ddf859c57e812878a5f817e4097efb06de4d97/testing/specialpowers/content/SpecialPowersChild.jsm#786,799

The promiseTimeout function calls this._setTimeout with two arguments but the _setTimeout function only takes one, and assumes a zero delay.

Assignee: nobody → kats
Status: NEW → ASSIGNED
Pushed by kgupta@mozilla.staktrace.com:
https://hg.mozilla.org/integration/autoland/rev/0b03303b9426
Fix delay argument propagation. r=kmag
https://hg.mozilla.org/integration/autoland/rev/5903efe74206
Update test_layerization to use SpecialPowers.promiseTimeout. r=botond
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: