[Webkit-unassigned] [Bug 168503] New: [WK1] Key modifier are not passed to the WebView from the eventSender's mouse events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 17 03:12:55 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=168503
Bug ID: 168503
Summary: [WK1] Key modifier are not passed to the WebView from
the eventSender's mouse events
Classification: Unclassified
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: tpopela at redhat.com
CC: lforschler at apple.com
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.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170217/bffa7894/attachment-0001.html>
More information about the webkit-unassigned
mailing list