Closed Bug 2018567 Opened 9 months ago Closed 8 months ago

[wpt-sync] Sync PR 57966 - webdriver: Check missing params before dispatch scroll action

Categories

(Remote Protocol :: Marionette, task, P4)

task

Tracking

(firefox150 fixed)

RESOLVED FIXED
150 Branch
Tracking Status
firefox150 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 57966 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/57966
Details from upstream follow.

Euclid Ye <yezhizhenjiakang@gmail.com> wrote:

webdriver: Check missing params before dispatch scroll action

This actually happens at a very early stage: https://w3c.github.io/webdriver/#dfn-process-a-wheel-action
However, for some reason webdriver crate does not check it for this particular case.
This PR moves the check to the beginning of dispatch scroll action.

Testing: Added a wdspec test.
Reviewed in servo/servo#42745

Component: web-platform-tests → Marionette
Product: Testing → Remote Protocol

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 9 subtests

Status Summary

Firefox

OK : 1
PASS: 9

Chrome

OK : 1
PASS: 9

Safari

OK : 1
PASS: 5
FAIL: 4

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/6a654521b751 https://hg.mozilla.org/integration/autoland/rev/62ac57aa16a7 [wpt PR 57966] - webdriver: Check missing params before dispatch scroll action, a=testonly
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 150 Branch
You need to log in before you can comment on or make changes to this bug.