Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e5b8d50e12553b0bb1a8ff9e8116d060028a7228
https://github.com/WebKit/WebKit/commit/e5b8d50e12553b0bb1a8ff9e8116d060028a7228
Author: Alex Christensen <[email protected]>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
M Source/WebCore/page/DOMWindow.cpp
M Source/WebCore/page/DOMWindow.h
M Source/WebCore/page/DOMWindow.idl
M Source/WebCore/page/LocalDOMWindow.cpp
M Source/WebCore/page/LocalDOMWindow.h
M Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
Log Message:
-----------
Make JavaScript wrapper around contentsToMainFrameView exposed in worlds with
autofill JS enabled
https://bugs.webkit.org/show_bug.cgi?id=325057
rdar://188225388
Reviewed by Ryosuke Niwa.
This is kind of like webkitConvertPointFromNodeToPage but actually works with
site isolation and
isn't intended to be removed from the web platform because it's not part of the
web platform.
It's part of the autofill support in WebKit.
This will make it so we no longer need
WKWebView._convertRect:fromFrame:toMainFrameCoordinates:
in our experimental work in Safari.
Test: Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
* Source/WebCore/page/DOMWindow.cpp:
(WebCore::DOMWindow::convertRectToMainFrameCoordinates):
* Source/WebCore/page/DOMWindow.h:
* Source/WebCore/page/DOMWindow.idl:
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::convertRectToMainFrameCoordinates):
* Source/WebCore/page/LocalDOMWindow.h:
* Tools/TestWebKitAPI/Tests/WebKit/WKWebView/SiteIsolation.mm:
(TestWebKitAPI::TEST(SiteIsolation,
ConvertRectToMainFrameCoordinatesInCrossOriginIframe)):
Canonical link: https://commits.webkit.org/321854@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications