webdriver icon indicating copy to clipboard operation
webdriver copied to clipboard

Require pointerMove and wheel coordinates to be integers

Open jgraham opened this issue 3 years ago • 2 comments

Prevously we allowed these properties to be undefined, and then later tried to do computations on the values. That doesn't work; they either need to have an integer default value or require that a value is supplied.

Since implementations currently seem to raise an exception for these values being undefined, the easiest approach is to require that they are supplied, so that's what's implemented here.


Preview | Diff

jgraham avatar Jul 25 '22 14:07 jgraham

Tests in https://phabricator.services.mozilla.com/D152645

jgraham avatar Jul 25 '22 14:07 jgraham

@AutomatedTester could you maybe have a look? Thanks!

whimboo avatar Aug 11 '22 15:08 whimboo