Closed
Bug 1675094
Opened 5 years ago
Closed 5 years ago
Replace executeSoon() with waitForTick() in accessible/tests/browser
Categories
(Core :: Disability Access APIs, task)
Core
Disability Access APIs
Tracking
()
RESOLVED
FIXED
84 Branch
| Tracking | Status | |
|---|---|---|
| firefox84 | --- | fixed |
People
(Reporter: hexagonrecursion, Assigned: hexagonrecursion)
Details
Attachments
(1 file)
waitForTick() is a more promise-friendly and await-friendly API than executeSoon().
I used the following semgrep rules automatically replace executeSoon() with waitForTick()
rules:
- id: executeSoon-to-waitForTick
patterns:
- pattern: new Promise(resolve => executeSoon(resolve))
fix: waitForTick()
languages: [javascript]
message: use waitForTick() instead
severity: WARNING
| Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee: nobody → hexagonrecursion
Pushed by jteh@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/c68ab3e8a465
Replace executeSoon() with waitForTick() in accessible/tests/browser r=Jamie,yzen
Comment 3•5 years ago
|
||
| bugherder | ||
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•