Bug 217951

Summary: WebDriver: sequence of char key press is not supported
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebDriverAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aperez, bburg, clopez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 217950    
Bug Blocks: 166679    
Attachments:
Description Flags
Patch
bburg: review-
Patch bburg: review+

Carlos Garcia Campos
Reported 2020-10-20 06:13:56 PDT
We are assuming there can be only one char key pressed at a time. There's on test failing because of this: imported/w3c/webdriver/tests/perform_actions/key_events.py::test_sequence_of_keydown_printable_keys_sends_events
Attachments
Patch (7.42 KB, patch)
2020-10-20 06:18 PDT, Carlos Garcia Campos
bburg: review-
Patch (8.53 KB, patch)
2020-10-22 03:01 PDT, Carlos Garcia Campos
bburg: review+
Carlos Garcia Campos
Comment 1 2020-10-20 06:18:20 PDT
Blaze Burg
Comment 2 2020-10-20 08:34:50 PDT
Comment on attachment 411859 [details] Patch r- due to failing build. Overall this looks like an improvement. I am worried about iteration order of the char keys being undefined and causing flaky test failures. Can we use ListHashSet to avoid this?
Carlos Garcia Campos
Comment 3 2020-10-21 00:34:27 PDT
(In reply to Brian Burg from comment #2) > Comment on attachment 411859 [details] > Patch > > r- due to failing build. EWS is red because the patch depends on bug #217950. > Overall this looks like an improvement. I am worried about iteration order > of the char keys being undefined and causing flaky test failures. Can we use > ListHashSet to avoid this? I'll submit a rebased patch after landing bug #217950 using LinkHashSet
Carlos Garcia Campos
Comment 4 2020-10-22 03:01:29 PDT
Blaze Burg
Comment 5 2020-10-26 17:00:25 PDT
Comment on attachment 412080 [details] Patch r=me
Radar WebKit Bug Importer
Comment 6 2020-10-27 06:14:47 PDT
Carlos Garcia Campos
Comment 7 2020-10-27 06:26:59 PDT
Note You need to log in before you can comment on or make changes to this bug.