[Webkit-unassigned] [Bug 212848] New: [WebDriver] Allow platform-dependent modifier keys conversion to WebEvent::Modifier
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 5 14:41:15 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212848
Bug ID: 212848
Summary: [WebDriver] Allow platform-dependent modifier keys
conversion to WebEvent::Modifier
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebDriver
Assignee: webkit-unassigned at lists.webkit.org
Reporter: lmoura at igalia.com
CC: bburg at apple.com
Currently, WebAutomationSession::simulateMouseInteraction converts m_currentModifiers (which stores the current native platform modifiers) directly to OptionSet<WebEvent::Modifier> using OptionSet::fromRaw(m_currentModifiers).
This causes problems as the fields in the native mappings is completely different from the WebEvent ones:
|Key | WebEvent | WPE | GTK | Mac |
|--------|----------|-----|-----|-----|
|Shift | 0 | 1 | 0 | 17 |
|Control | 1 | 0 | 2 | 18 |
|Alt | 2 | 2 | 28 | 19 |
|Meta | 3 | 3 | X | 20 |
|Caps | 4 | X | 1 | 16 |
|--------|----------|-----|-----|-----|
For example, the current GTK context menu tests tests failing with the ctrl key pressed.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200605/f771fae2/attachment-0001.htm>
More information about the webkit-unassigned
mailing list