Open
Bug 1286962
Opened 8 years ago
Updated 2 years ago
BrowserTestUtils.synthesizeMouseAtCenter should throw an error if no target is found
Categories
(Testing :: Mochitest, defect)
Testing
Mochitest
Tracking
(Not tracked)
NEW
People
(Reporter: mattw, Unassigned)
Details
Actual: When `target` is passed an ID for an element that doesn't exist, it fails silently and the click appears to happen at the top left of the page. Expected: An error should be thrown indicating that no target element was found for the given ID. It would also be very nice if we added documentation for the parameters of synthesizeMouseAtCenter(target, event, browser).
Assignee | ||
Updated•7 years ago
|
Component: BrowserTest → Mochitest
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•