Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 31c8c529b716cf5008acf2057900545b4f9d8873
https://github.com/WebKit/WebKit/commit/31c8c529b716cf5008acf2057900545b4f9d8873
Author: Per Arne Vollan <[email protected]>
Date: 2026-09-17 (Thu, 17 Sep 2026)
Changed paths:
M LayoutTests/platform/ios/TestExpectations
M Source/WebCore/page/RemoteFrameGeometryTransformer.cpp
Log Message:
-----------
[Site Isolation] CNN.com ads in separate process don’t open new window
https://bugs.webkit.org/show_bug.cgi?id=324364
rdar://185648079
Reviewed by Sihui Liu and Megan Gardner.
When the main frame process is receiving the message
WebPage::potentialTapAtPosition, it transforms
the provided root view position if the position is inside a remote frame. This
transformation is
done in RemoteFrameGeometryTransformer::transformToRemoteFrameCoordinates by
calling
LocalFrameView::absoluteToChildFrameOwnerLocalTransform. However, this
transformation only works
if the provided remote frame is a direct child of the local view stored in the
object.
We can use FrameView::convertFromRootViewAcrossIsolatedFrames which handles
this case as well.
Unskipped these tests:
http/tests/site-isolation/ios/drag-selection-grabber-extends-selection-in-cross-origin-iframe.html
http/tests/site-isolation/ios/drag-selection-grabber-in-scrolled-cross-origin-iframe.html
http/tests/site-isolation/ios/select-and-drag-in-transformed-cross-origin-iframe.html
http/tests/site-isolation/touch-events/tap-nested-cross-origin-frame-in-offset-subframe.html
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/page/RemoteFrameGeometryTransformer.cpp:
(WebCore::RemoteFrameGeometryTransformer::transformToRemoteFrameCoordinates
const):
Canonical link: https://commits.webkit.org/321358@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications