mirror of
https://github.com/servo/servo.git
synced 2025-08-25 15:18:22 +01:00
[WebDriver: Release Action] Fix panic by work around buggy spec (#37624)
1. Narrow the lifetime of `input_cancel_list` to avoid Runtime multiple BorrowMut error. 2. Work around the buggy spec by removing matching item in `input_cancel_list` when dispatch `keyUp` and `mouseUp`. See https://github.com/servo/servo/issues/37579#issuecomment-2990762713 Testing: All WebDriver WPT test. Fixes: #37579 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
This commit is contained in:
parent
795367c751
commit
5e252d0ef6
7 changed files with 39 additions and 24 deletions
|
@ -1,9 +1,3 @@
|
|||
[send_keys.py]
|
||||
[test_no_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_such_element_with_shadow_root]
|
||||
expected: FAIL
|
||||
|
||||
[test_surrogates]
|
||||
expected: FAIL
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
[test_no_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_such_element_with_shadow_root]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_such_element_with_startnode_from_other_frame]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
[test_no_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_such_element_with_shadow_root]
|
||||
expected: FAIL
|
||||
|
||||
[test_no_such_element_with_startnode_from_other_frame]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,14 +5,8 @@
|
|||
[test_key_down_closes_browsing_context]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_in_shadow_tree[outer-open\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_in_shadow_tree[outer-closed\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_in_shadow_tree[inner-open\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_element_in_shadow_tree[inner-closed\]]
|
||||
expected: FAIL
|
||||
|
|
|
@ -4,6 +4,3 @@
|
|||
|
||||
[test_control_click[\\ue051-ctrlKey\]]
|
||||
expected: FAIL
|
||||
|
||||
[test_release_control_click]
|
||||
expected: FAIL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue