Closed Bug 2085476 Opened 1 month ago Closed 25 days ago

[wpt-sync] Sync PR 64057 - [wdspec] Remove 2**53 pointer dimension and release pointerDown

Categories

(Remote Protocol :: Marionette, task, P4)

task

Tracking

(firefox162 fixed)

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Blocks 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Maksim Sadym <sadym@chromium.org> wrote:

[wdspec] Remove 2**53 pointer dimension and release pointerDown

  • Parametrize valid pointer dimension values as [0, 0.1], dropping
    2**53, and release the pointer button after pointerDown in the
    missing-dimension test.
  • WebDriver BiDi requires pointer width and height to fit in js-uint
    (0..2^53-1), and an unreleased pointerDown leaks pressed button state
    into subsequent tests (added in crrev.com/c/8550115).

TAG=agy

Bug: 540482873
Include-Ci-Only-Tests: chromium.linux:Linux Tests|webdriver_wpt_tests
Change-Id: I250d99f35d013dfb0821f4e4a9c7646f65899112
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8598428
Auto-Submit: Maksim Sadym \<sadym@chromium.org>
Commit-Queue: Maksim Sadym \<sadym@chromium.org>
Reviewed-by: Nikolay Vitkov \<nvitkov@chromium.org>
Commit-Queue: Nikolay Vitkov \<nvitkov@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1722729}

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

CI Results

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

Total 27 tests and 6 subtests

Status Summary

Firefox

OK : 1[GitHub] 27[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 21[GitHub] 714[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug] 715[Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-opt, Gecko-windows11-64-25h2-opt]
FAIL: 6[GitHub] 18[Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-opt, Gecko-windows11-64-25h2-opt] 19[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug]

Chrome

OK : 1
PASS: 26
FAIL: 1

Safari

OK : 1
PASS: 23
FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

  • /webdriver/tests/classic/perform_actions/perform.py [wpt.fyi]
    • test_pointer_action_common_properties_dimensions_valid[0.1-width-pointerDown]: FAIL
    • test_pointer_action_common_properties_dimensions_valid[0.1-width-pointerMove]: FAIL
    • test_pointer_action_common_properties_dimensions_valid[0.1-width-pointerUp]: FAIL
    • test_pointer_action_common_properties_dimensions_valid[0.1-height-pointerDown]: FAIL
    • test_pointer_action_common_properties_dimensions_valid[0.1-height-pointerMove]: FAIL
    • test_pointer_action_common_properties_dimensions_valid[0.1-height-pointerUp]: FAIL

New Tests That Don't Pass

  • /webdriver/tests/classic/perform_actions/perform.py [wpt.fyi]
    • test_pointer_action_common_properties_dimensions_valid[0.1-width-pointerDown]: FAIL (Chrome: PASS, Safari: PASS)
    • test_pointer_action_common_properties_dimensions_valid[0.1-width-pointerMove]: FAIL (Chrome: PASS, Safari: PASS)
    • test_pointer_action_common_properties_dimensions_valid[0.1-width-pointerUp]: FAIL (Chrome: PASS, Safari: PASS)
    • test_pointer_action_common_properties_dimensions_valid[0.1-height-pointerDown]: FAIL (Chrome: PASS, Safari: PASS)
    • test_pointer_action_common_properties_dimensions_valid[0.1-height-pointerMove]: FAIL (Chrome: PASS, Safari: PASS)
    • test_pointer_action_common_properties_dimensions_valid[0.1-height-pointerUp]: FAIL (Chrome: PASS, Safari: PASS)
  • /webdriver/tests/classic/perform_actions/pointer_mouse.py [wpt.fyi]
    • test_down_closes_browsing_context[without up]: FAIL [Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-linux2204-64-wayland-debug, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug], PASS [Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2204-64-wayland-opt, Gecko-windows11-64-25h2-opt]
  • /webdriver/tests/classic/perform_actions/pointer_mouse_drag.py [wpt.fyi]
    • test_drag_and_drop_with_draggable_element[0]: FAIL
    • test_drag_and_drop_with_draggable_element[300]: FAIL
    • test_drag_and_drop_with_draggable_element[800]: FAIL
  • /webdriver/tests/classic/perform_actions/pointer_pen.py [wpt.fyi]
    • test_null_response_value: FAIL
    • test_pointer_down_closes_browsing_context: FAIL
    • test_pen_pointer_in_shadow_tree[outer-open]: FAIL
    • test_pen_pointer_in_shadow_tree[outer-closed]: FAIL
    • test_pen_pointer_in_shadow_tree[inner-open]: FAIL
    • test_pen_pointer_in_shadow_tree[inner-closed]: FAIL
    • test_pen_pointer_properties: FAIL
  • /webdriver/tests/classic/perform_actions/pointer_touch.py [wpt.fyi]
    • test_touch_pointer_cancel_and_up: FAIL
  • /webdriver/tests/classic/perform_actions/wheel_events.py [wpt.fyi]
    • test_scroll_emits_scrollend_event: FAIL
Status: NEW → RESOLVED
Closed: 25 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.