-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Site Isolation] Context menu is offset in iframes
https://bugs.webkit.org/show_bug.cgi?id=269437 rdar://122994262 Reviewed by Alex Christensen. The context menu is offset when clicked in an iframe because an iframe process is trying to convert to root view coordinates. To convert to root view coordinates from an iframe process we need to convert from each parent root frame. * Source/WebKit/Shared/ContextMenuContextData.h: (WebKit::ContextMenuContextData::setMenuLocation): * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::setTextIndicatorFromFrame): (WebKit::WebPageProxy::showContextMenuFromFrame): * Source/WebKit/UIProcess/WebPageProxy.h: * Source/WebKit/UIProcess/WebPageProxy.messages.in: * Source/WebKit/WebProcess/WebPage/WebContextMenu.cpp: (WebKit::WebContextMenu::show): * Source/WebKit/WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::remoteViewToRootView): (WebKit::WebPage::remoteViewRectToRootView): (WebKit::WebPage::remoteViewPointToRootView): (WebKit::WebPage::remoteViewCoordinatesToRootView): Deleted. * Source/WebKit/WebProcess/WebPage/WebPage.h: * Source/WebKit/WebProcess/WebPage/WebPage.messages.in: Canonical link: https://commits.webkit.org/274761@main
- Loading branch information
1 parent
4d6afe2
commit fbda7ba
Showing
8 changed files
with
47 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters