Open
Bug 1134139
Opened 9 years ago
Updated 2 years ago
Use BrowserTestUtils.waitForEvent() in /browser/ tests
Categories
(Firefox :: General, task)
Firefox
General
Tracking
()
NEW
People
(Reporter: Unfocused, Unassigned)
References
(Depends on 1 open bug)
Details
(Whiteboard: [good second bug][lang=js])
Bug 1123517 adds a BrowserUITestUtils.jsm testing module for use in tests, and implements waitForEvent. Numerous test files and head.js files have their own duplicate implementation of this function (waitForEvent/promiseWaitForEvent). Those can now be removed, in favour of importing BrowserUITestUtils.jsm and using that. It can be imported as resource://testing-common/BrowserUITestUtils.jsm
Comment 1•9 years ago
|
||
As discussed in Bug 1093566, BrowserUITestUtils is going to be migrated into the testing directory and directly introduced into mochitest-browser scope (combined with BrowserTestUtils).
Summary: Use BrowserUITestUtils.waitForEvent() in /browser/ tests → Use BrowserTestUtils.waitForEvent() in /browser/ tests
Comment 4•6 years ago
|
||
I would like to take this one.
Updated•3 years ago
|
Type: defect → task
You need to log in
before you can comment on or make changes to this bug.
Description
•