NEW 168503
[WK1] Key modifier are not passed to the WebView from the eventSender's mouse events
https://bugs.webkit.org/show_bug.cgi?id=168503
Summary [WK1] Key modifier are not passed to the WebView from the eventSender's mouse...
Tomas Popela
Reported 2017-02-17 03:12:55 PST
While creating a layout test for bug 168424 I was not able to make it pass on the MAC WK1. If I use the eventSender.mouseUp(0, ['altKey']); in the test then the event is created in Tools/DumpRenderTree/mac/EventSendingController.mm in the mouseUp() function. In the modifierFlags function (in the same module) the altKey modifier is recognized and set. But then in Source/WebKit/mac/WebView/WebView.mm in the applicationFlags() function where we get the current event - [[NSApp currentEvent] modifierFlags] - it is 0 - no modifier set. The same applies for other modifiers as well. If I try the test in the MiniBrowser, then it works as expected.
Attachments
Note You need to log in before you can comment on or make changes to this bug.