RESOLVED FIXED221465
Add support for modifier keys in test_driver.send_keys()
https://bugs.webkit.org/show_bug.cgi?id=221465
Summary Add support for modifier keys in test_driver.send_keys()
Manuel Rego Casasnovas
Reported 2021-02-05 07:36:11 PST
There's a FIXME about that in LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js (https://webkit-search.igalia.com/webkit/source/LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js#158): // FIXME: Add the support for modifier keys. This causes that we cannot do things like test_driver.send_keys(element, "\uE009" + "Y") (Ctrl + Y). Chromium supports this with the following code: https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/web_tests/resources/testdriver-vendor.js;l=100?q=testdriver-vendor.js
Attachments
Patch (6.25 KB, patch)
2021-02-09 08:35 PST, Manuel Rego Casasnovas
no flags
Patch (9.82 KB, patch)
2021-02-10 01:25 PST, Manuel Rego Casasnovas
no flags
Patch (9.88 KB, patch)
2021-02-10 02:08 PST, Manuel Rego Casasnovas
no flags
Patch (9.82 KB, patch)
2021-02-10 02:15 PST, Manuel Rego Casasnovas
no flags
Patch (9.82 KB, patch)
2021-02-10 02:46 PST, Manuel Rego Casasnovas
no flags
Manuel Rego Casasnovas
Comment 1 2021-02-09 08:35:49 PST
EWS Watchlist
Comment 2 2021-02-09 08:37:05 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Manuel Rego Casasnovas
Comment 3 2021-02-10 01:25:36 PST
Manuel Rego Casasnovas
Comment 4 2021-02-10 02:08:28 PST
Manuel Rego Casasnovas
Comment 5 2021-02-10 02:15:25 PST
Manuel Rego Casasnovas
Comment 6 2021-02-10 02:46:18 PST
Manuel Rego Casasnovas
Comment 7 2021-02-10 03:34:44 PST
The EWSs are green now and the WPT test passes in Chromium and Firefox. I believe this is ready to be reviewed. Please take a look, thanks!
Sam Sneddon [:gsnedders]
Comment 8 2021-02-10 06:18:00 PST
Comment on attachment 419831 [details] Patch (non-reviewer r+)
EWS
Comment 9 2021-02-10 07:19:08 PST
Committed r272651: <https://commits.webkit.org/r272651> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419831 [details].
Radar WebKit Bug Importer
Comment 10 2021-02-10 07:20:17 PST
Note You need to log in before you can comment on or make changes to this bug.