Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions API x/y params must be integers #35942

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

recvfrom
Copy link
Contributor

For the pointerMove and scroll Actions API functions, the coordinate parameters must be integers. Let's update the documentation to mention this

Reference:

For the pointerMove and scroll Actions API functions, the coordinate parameters must be integers. Let's update the documentation to mention this

Reference:
 - https://www.w3.org/TR/webdriver/#dfn-process-a-pointer-action
 - https://www.w3.org/TR/webdriver/#dfn-process-a-wheel-action
chromium-wpt-export-bot pushed a commit that referenced this pull request Sep 18, 2022
On wpt.fyi the newly automated drag and drop WPTs currently fail
with errors like:

Expected 'x' ([object Number] 71.5) to be an Integer

Ex:

https://wpt.fyi/results/html/editing/dnd/images/006.html?label=master&label=experimental&aligned&view=subtest

This CL updates the mouseMoveToCenter drag and drop helper
function to ensure that the x and y coordinates passed to
the Actions API pointerMove function are always integers.
I also submitted a PR to update the docs so that they
mention this requirement:

#35942

Bug: 1302171
Change-Id: I91ec54fa778774ac25feb47454259769f2742514
aarongable pushed a commit to chromium/chromium that referenced this pull request Sep 19, 2022
On wpt.fyi the newly automated drag and drop WPTs currently fail
with errors like:

Expected 'x' ([object Number] 71.5) to be an Integer

Ex:

https://wpt.fyi/results/html/editing/dnd/images/006.html?label=master&label=experimental&aligned&view=subtest

This CL updates the mouseMoveToCenter drag and drop helper
function to ensure that the x and y coordinates passed to
the Actions API pointerMove function are always integers.
I also submitted a PR to update the docs so that they
mention this requirement:

web-platform-tests/wpt#35942

Bug: 1302171
Change-Id: I91ec54fa778774ac25feb47454259769f2742514
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3903489
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/main@{#1048493}
chromium-wpt-export-bot pushed a commit that referenced this pull request Sep 19, 2022
On wpt.fyi the newly automated drag and drop WPTs currently fail
with errors like:

Expected 'x' ([object Number] 71.5) to be an Integer

Ex:

https://wpt.fyi/results/html/editing/dnd/images/006.html?label=master&label=experimental&aligned&view=subtest

This CL updates the mouseMoveToCenter drag and drop helper
function to ensure that the x and y coordinates passed to
the Actions API pointerMove function are always integers.
I also submitted a PR to update the docs so that they
mention this requirement:

#35942

Bug: 1302171
Change-Id: I91ec54fa778774ac25feb47454259769f2742514
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3903489
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/main@{#1048493}
chromium-wpt-export-bot pushed a commit that referenced this pull request Sep 19, 2022
On wpt.fyi the newly automated drag and drop WPTs currently fail
with errors like:

Expected 'x' ([object Number] 71.5) to be an Integer

Ex:

https://wpt.fyi/results/html/editing/dnd/images/006.html?label=master&label=experimental&aligned&view=subtest

This CL updates the mouseMoveToCenter drag and drop helper
function to ensure that the x and y coordinates passed to
the Actions API pointerMove function are always integers.
I also submitted a PR to update the docs so that they
mention this requirement:

#35942

Bug: 1302171
Change-Id: I91ec54fa778774ac25feb47454259769f2742514
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3903489
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/main@{#1048493}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Sep 24, 2022
…s to pointerMove, a=testonly

Automatic update from web-platform-tests
Update mouseMoveToCenter to pass integers to pointerMove

On wpt.fyi the newly automated drag and drop WPTs currently fail
with errors like:

Expected 'x' ([object Number] 71.5) to be an Integer

Ex:

https://wpt.fyi/results/html/editing/dnd/images/006.html?label=master&label=experimental&aligned&view=subtest

This CL updates the mouseMoveToCenter drag and drop helper
function to ensure that the x and y coordinates passed to
the Actions API pointerMove function are always integers.
I also submitted a PR to update the docs so that they
mention this requirement:

web-platform-tests/wpt#35942

Bug: 1302171
Change-Id: I91ec54fa778774ac25feb47454259769f2742514
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3903489
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/main@{#1048493}

--

wpt-commits: 6359e0968f840c9bd76b8c4dd97e8494714dfed3
wpt-pr: 35944
jamienicol pushed a commit to jamienicol/gecko that referenced this pull request Sep 27, 2022
…s to pointerMove, a=testonly

Automatic update from web-platform-tests
Update mouseMoveToCenter to pass integers to pointerMove

On wpt.fyi the newly automated drag and drop WPTs currently fail
with errors like:

Expected 'x' ([object Number] 71.5) to be an Integer

Ex:

https://wpt.fyi/results/html/editing/dnd/images/006.html?label=master&label=experimental&aligned&view=subtest

This CL updates the mouseMoveToCenter drag and drop helper
function to ensure that the x and y coordinates passed to
the Actions API pointerMove function are always integers.
I also submitted a PR to update the docs so that they
mention this requirement:

web-platform-tests/wpt#35942

Bug: 1302171
Change-Id: I91ec54fa778774ac25feb47454259769f2742514
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3903489
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/main@{#1048493}

--

wpt-commits: 6359e0968f840c9bd76b8c4dd97e8494714dfed3
wpt-pr: 35944
mjfroman pushed a commit to mjfroman/moz-libwebrtc-third-party that referenced this pull request Oct 14, 2022
On wpt.fyi the newly automated drag and drop WPTs currently fail
with errors like:

Expected 'x' ([object Number] 71.5) to be an Integer

Ex:

https://wpt.fyi/results/html/editing/dnd/images/006.html?label=master&label=experimental&aligned&view=subtest

This CL updates the mouseMoveToCenter drag and drop helper
function to ensure that the x and y coordinates passed to
the Actions API pointerMove function are always integers.
I also submitted a PR to update the docs so that they
mention this requirement:

web-platform-tests/wpt#35942

Bug: 1302171
Change-Id: I91ec54fa778774ac25feb47454259769f2742514
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3903489
Reviewed-by: Mike Taylor <miketaylr@chromium.org>
Commit-Queue: Andrew Williams <awillia@google.com>
Cr-Commit-Position: refs/heads/main@{#1048493}
NOKEYCHECK=True
GitOrigin-RevId: 8f67b8c577e4a36950f8d48c45ec2fe7dcac0640
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants