Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webdriver: fix expected key code for "Unidentified" keys #14415

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andreastt
Copy link
Member

Per the UI Events specification
(https://w3c.github.io/uievents-code/#key-legacy), keys such as
\u00e0 (i.e., à) should have a code of "Unidentified". Some tests
in key.py expect an empty value, which seems to be an oversight.

This PR supersedes #12013.

@andreastt
Copy link
Member Author

Let’s see how the CI fares this time around.

@foolip
Copy link
Member

foolip commented Dec 20, 2018

This PR is blocked on the required "Travis CI - Pull Request" check after #14499. In order to trigger it, I will close and reopen this PR.

@foolip foolip closed this Dec 20, 2018
@foolip foolip reopened this Dec 20, 2018
@whimboo
Copy link
Contributor

whimboo commented Dec 21, 2018

Shouldn't we also update the WebDriver spec? As it looks like the only appearance of "Unidentified" is currently for \uE000.

@whimboo
Copy link
Contributor

whimboo commented Jan 14, 2019

@andreastt can you please check my last comment?

@andreastt
Copy link
Member Author

Yes, probably if it’s not there already. This is really a question for @burg, since I just rebased his original PR.

@mjzffr mjzffr removed their request for review August 27, 2019 15:12
@gsnedders gsnedders closed this Jan 24, 2020
@gsnedders gsnedders deleted the bburg-unidentified-keys branch January 24, 2020 18:02
@gsnedders gsnedders restored the bburg-unidentified-keys branch January 24, 2020 18:52
@Hexcles Hexcles reopened this Jan 24, 2020
@whimboo
Copy link
Contributor

whimboo commented Feb 24, 2023

@jgraham would you mind having a look at this PR? In our implementation for Firefox we also still fallback to an empty string.

@jgraham jgraham closed this Mar 6, 2023
@jgraham jgraham reopened this Mar 6, 2023
Per the UI Events specification
(https://w3c.github.io/uievents-code/#key-legacy), keys such as
\u00e0 (i.e., à) should have a code of "Unidentified".  Some tests
in key.py expect an empty value, which seems to be an oversight.
@whimboo
Copy link
Contributor

whimboo commented Mar 8, 2023

@jgraham all the webdriver tests are passing which is interesting. Maybe I miss something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants