Closed
Bug 1850086
Opened 2 years ago
Closed 2 years ago
`pointerDown(ButtonType.MIDDLE)` and `pointerDown(ButtonType.RIGHT)` synthesizes wrong `buttons` value
Categories
(Remote Protocol :: Agent, defect, P3)
Remote Protocol
Agent
Tracking
(firefox119 fixed)
RESOLVED
FIXED
119 Branch
Tracking | Status | |
---|---|---|
firefox119 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
Details
(Whiteboard: [webdriver:m8][webdriver:external][webdriver:relnote])
Attachments
(1 file)
If you call pointerDown(ButtonType.MIDDLE)
, you'll see a mousedown
event whose buttons
value is 2
, similarly, pointerDown(ButtonType.RIGHT)
, you'll see a mousedown
whose buttons
is 4
. However, the values should be swapped.
Comment 1•2 years ago
|
||
Thanks Masayuki! FYI geckodriver just forwards the WebDriver command to Marionette. So lets get it moved to the right component.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
Assignee | ||
Comment 2•2 years ago
|
||
Assignee | ||
Comment 3•2 years ago
|
||
MouseButton.buttons
value for middle button is 4
, and for right button is
2
. However, their button values are 1
and 2
. Therefore, their values
cannot be computed with Math.pow
simply.
Updated•2 years ago
|
Attachment #9350411 -
Attachment description: WIP: Bug 1850086 - Make `Actions` compute `buttons` value from `button` value correctly → Bug 1850086 - Make `Actions` compute `buttons` value from `button` value correctly
Updated•2 years ago
|
Attachment #9350411 -
Attachment description: Bug 1850086 - Make `Actions` compute `buttons` value from `button` value correctly → WIP: Bug 1850086 - Make `Actions` compute `buttons` value from `button` value correctly
Updated•2 years ago
|
Attachment #9350411 -
Attachment description: WIP: Bug 1850086 - Make `Actions` compute `buttons` value from `button` value correctly → Bug 1850086 - Make `Actions` compute `buttons` value from `button` value correctly
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/a0cba0c9a320
Make `Actions` compute `buttons` value from `button` value correctly r=webdriver-reviewers,whimboo
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41796 for changes under testing/web-platform/tests
Comment 6•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox119:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Upstream PR merged by moz-wptsync-bot
Updated•1 year ago
|
Whiteboard: [webdriver:m8][webdriver:external][webdriver:relnote]
Updated•1 year ago
|
Component: Marionette → Agent
You need to log in
before you can comment on or make changes to this bug.
Description
•