[Webkit-unassigned] [Bug 229928] New: [Win] PlatformWebView::simulateSpacebarKeyPress sends a wrong scan code for the space key

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 5 18:28:14 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229928

            Bug ID: 229928
           Summary: [Win] PlatformWebView::simulateSpacebarKeyPress sends
                    a wrong scan code for the space key
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Hironori.Fujii at sony.com

[Win] PlatformWebView::simulateSpacebarKeyPress sends a wrong scan code for the space key

PlatformWebView::simulateSpacebarKeyPress sends 39, but it should be 0x39.
PlatformWebView::simulateAltKeyPress send 38, but it should be 0x38.

These code were originally added by r69671.

The scan codes are defined in WindowsKeyNames.cpp.

https://github.com/WebKit/WebKit/blob/1447dba3960bb20229b5caefdcd61a3f9a2bf276/Source/WebCore/platform/win/WindowsKeyNames.cpp#L362,L363

>    { 0x0038, "AltLeft"_s },
>    { 0x0039, "Space"_s },

-- 
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/20210906/1ad3a241/attachment.htm>


More information about the webkit-unassigned mailing list