Open Bug 1155324 Opened 9 years ago Updated 2 years ago

EventUtils click / touch event synthesis should warn if the element is out of view.

Categories

(Testing :: Mochitest, defect)

x86
macOS
defect

Tracking

(Not tracked)

People

(Reporter: mconley, Unassigned)

Details

We hit an orange in bug 989469 after changing some theme stuff because one of our tests synthesizes events at the center of a button, and after the theme change, the bottom center was scrolled off the screen.

I think EventUtils should warn or throw when we attempt to click, touch, or otherwise dispatch events at coordinates based on things that are scrolled out of view, because that's likely not what the test-writer wants.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.