Open
Bug 1853964
Opened 2 years ago
Updated 2 years ago
Make the BrowserTestUtils.synthesizeX helpers work for in-process DOM elements as well
Categories
(Testing :: Mochitest, task)
Testing
Mochitest
Tracking
(Not tracked)
NEW
People
(Reporter: mconley, Unassigned)
Details
It is a footgun that in some cases, BrowserTestUtils.synthesizeX is the right choice, and EventUtils.synthesizeX is the right choice. The utility should figure out the context of the element that the event is being synthesized on, and make the right choice on the technique to use.
I propose we make the BrowserTestUtils.synthesizeX helpers accept an in-process target element, along with selectors or a function.
You need to log in
before you can comment on or make changes to this bug.
Description
•