Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: fda388552a877f757aa8216c8d116937fe8651f2
      
https://github.com/WebKit/WebKit/commit/fda388552a877f757aa8216c8d116937fe8651f2
  Author: Charlie Wolfe <[email protected]>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    A 
LayoutTests/http/tests/site-isolation/mouse-events/context-menu-main-frame-event-expected.txt
    A 
LayoutTests/http/tests/site-isolation/mouse-events/context-menu-main-frame-event.html
    A 
LayoutTests/http/tests/site-isolation/mouse-events/resources/context-menu-event-listener.html
    M Source/WebKit/WebProcess/WebPage/WebFrame.cpp

  Log Message:
  -----------
  [Site Isolation] Context menu events are always sent to the main frame
https://bugs.webkit.org/show_bug.cgi?id=269217
rdar://122819286

Reviewed by Alex Christensen.

Context menu events should not be handled if the mouse event hit a remote frame.

* 
LayoutTests/http/tests/site-isolation/mouse-events/context-menu-main-frame-event-expected.txt:
 Added.
* 
LayoutTests/http/tests/site-isolation/mouse-events/context-menu-main-frame-event.html:
 Added.
* 
LayoutTests/http/tests/site-isolation/mouse-events/resources/context-menu-event-listener.html:
 Added.
* Source/WebKit/WebProcess/WebPage/WebFrame.cpp:
(WebKit::WebFrame::handleMouseEvent):

Canonical link: https://commits.webkit.org/274516@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to