[Webkit-unassigned] [Bug 189325] New: [iOS] uiController.typeCharacterUsingHardwareKeyboard("`", ...) dispatches DOM key events for ~

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 5 16:05:07 PDT 2018


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

            Bug ID: 189325
           Summary: [iOS]
                    uiController.typeCharacterUsingHardwareKeyboard("`",
                    ...) dispatches DOM key events for ~
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: iPhone / iPad
                OS: iOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dbates at webkit.org
                CC: lforschler at apple.com, rniwa at webkit.org,
                    simon.fraser at apple.com, thorton at apple.com,
                    wenson_hsieh at apple.com

Created attachment 348975

  --> https://bugs.webkit.org/attachment.cgi?id=348975&action=review

Test case

Today when writing a layout test for iOS I noticed that using uiController.typeCharacterUsingHardwareKeyboard("`", ...) to simulate typing the grave accent (`) causes DOM key events for tilda (~) to be emitted.

Steps to reproduce:

Run the attached test case, test.html, in iOS WebKitTestRunner.

Looking at the type and key properties in the fired key events I see:

type: keydown, key: ~
type: keypress, key: ~
type: keyup, key: ~

But I should see:

type: keydown, key: `
type: keypress, key: `
type: keyup, key: `

-- 
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/20180905/2235982d/attachment.html>


More information about the webkit-unassigned mailing list