[Chromium/Mac] Don't send an onclick event from a ctrl-click
Created attachment 180369 [details] Patch
dglazkov: Can you review?
Comment on attachment 180369 [details] Patch Attachment 180369 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/15450145 New failing tests: fast/events/controlclick-no-onclick.html
Created attachment 180381 [details] Patch
Comment on attachment 180381 [details] Patch Attachment 180381 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/15455126 New failing tests: fast/events/controlclick-no-onclick.html
Created attachment 180394 [details] Patch
Comment on attachment 180394 [details] Patch Might be good to reach out to Apple folks and see if they could adopt this code, too. Checking for this in WebKit layer seems bad.
Who would be a good Apple person to cc here?
Alexey, can you look over what Alexei is doing? :)
dglazkov: Did you mean to cc an Alexey?
Not something I have the time to look into now, but please add a FIXME to consider merging the solutions later.
Created attachment 180521 [details] Patch
FIXME added.
Comment on attachment 180521 [details] Patch Attachment 180521 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/15454441 New failing tests: inspector-protocol/debugger-terminate-dedicated-worker-while-paused.html
Comment on attachment 180521 [details] Patch Clearing flags on attachment: 180521 Committed r138380: <http://trac.webkit.org/changeset/138380>
All reviewed patches have been landed. Closing bug.
Comment on attachment 180521 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=180521&action=review > Source/WebCore/page/EventHandler.cpp:1823 > + // FIXME: The Mac port achieves the same behavior by checking whether the context menu is currently open in WebPage::mouseEvent(). Consider merging the implementations. Mac WK2 also need to use this fix.