Webdriver: limit tick action duration to ECMA maximum safe integer (#37977)

Workaround to prevent
`webdriver/tests/classic/perform_actions/invalid.py` from TIMEOUT. I
don't see the spec telling us to limit this number, so I assume the
correct fix is to handle it on parsing.

Testing: `webdriver/tests/classic/perform_actions/invalid.py`.

Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com>
This commit is contained in:
Kenzie Raditya Tirtarahardja 2025-07-11 11:23:49 +08:00 committed by GitHub
parent 5b507dc871
commit 099d20fe94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 55 deletions

View file

@ -1,17 +1,4 @@
[invalid.py]
expected: TIMEOUT
[test_input_source_action_sequence_actions_pause_duration_invalid_value[9007199254740992-none\]]
expected: FAIL
[test_input_source_action_sequence_actions_pause_duration_invalid_value[9007199254740992-key\]]
expected: FAIL
[test_input_source_action_sequence_actions_pause_duration_invalid_value[9007199254740992-pointer\]]
expected: FAIL
[test_input_source_action_sequence_actions_pause_duration_invalid_value[9007199254740992-wheel\]]
expected: FAIL
[test_pointer_action_up_down_button_invalid_value[9007199254740992-pointerDown\]]
expected: FAIL
@ -36,12 +23,6 @@
[test_pointer_action_common_properties_dimensions_invalid_value[9007199254740992-height-pointerUp\]]
expected: FAIL
[test_wheel_action_scroll_coordinate_invalid_type[None-x\]]
expected: FAIL
[test_wheel_action_scroll_coordinate_invalid_type[None-y\]]
expected: FAIL
[test_wheel_action_scroll_coordinate_invalid_value[-9007199254740992-x\]]
expected: FAIL
@ -53,39 +34,3 @@
[test_wheel_action_scroll_coordinate_invalid_value[9007199254740992-y\]]
expected: FAIL
[test_wheel_action_scroll_delta_invalid_type[None-x\]]
expected: FAIL
[test_wheel_action_scroll_delta_invalid_type[None-y\]]
expected: FAIL
[test_wheel_action_scroll_delta_invalid_value[-9007199254740992-x\]]
expected: FAIL
[test_wheel_action_scroll_delta_invalid_value[-9007199254740992-y\]]
expected: FAIL
[test_wheel_action_scroll_delta_invalid_value[9007199254740992-x\]]
expected: FAIL
[test_wheel_action_scroll_delta_invalid_value[9007199254740992-y\]]
expected: FAIL
[test_wheel_action_scroll_origin_pointer_not_supported]
expected: FAIL
[test_wheel_action_scroll_origin_element_invalid_value]
expected: FAIL
[test_wheel_action_scroll_missing_property[x\]]
expected: FAIL
[test_wheel_action_scroll_missing_property[y\]]
expected: FAIL
[test_wheel_action_scroll_missing_property[deltaX\]]
expected: FAIL
[test_wheel_action_scroll_missing_property[deltaY\]]
expected: FAIL