webdriver: Change TickActions to vector rather than hashmap (#38747)

Based on
[spec](https://w3c.github.io/webdriver/#dfn-extract-an-action-sequence),
`TickActions` should be a list. Previously we used Hashmap, which when
iterated has arbitrary order. This causes some tests to be unstable
previously (see the linked issue).

Testing:
`./webdriver/tests/classic/perform_actions/{pointer_contextmenu,
pointer_modifier_click}.py` consistently pass now.
Fixes: https://github.com/servo/servo/issues/38387

---------

Signed-off-by: PotatoCP <Kenzie.Raditya.Tirtarahardja@huawei.com>
This commit is contained in:
Kenzie Raditya Tirtarahardja 2025-08-19 14:25:56 +08:00 committed by GitHub
parent ea506140c8
commit 60e6fe8cb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 15 deletions

View file

@ -1,6 +0,0 @@
[pointer_contextmenu.py]
[test_control_click[\\ue009-ctrlKey\]]
expected: FAIL
[test_control_click[\\ue051-ctrlKey\]]
expected: FAIL

View file

@ -1,3 +0,0 @@
[pointer_modifier_click.py]
[test_many_modifiers_click]
expected: FAIL