Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 497ff14e605503ba2fb3dc155d92c7cf5e1e1ba1
https://github.com/WebKit/WebKit/commit/497ff14e605503ba2fb3dc155d92c7cf5e1e1ba1
Author: Ryosuke Niwa <[email protected]>
Date: 2026-10-06 (Tue, 06 Oct 2026)
Changed paths:
M LayoutTests/platform/mac-site-isolation/TestExpectations
M LayoutTests/resources/testdriver-vendor.js
M Source/WebCore/testing/Internals.cpp
M Source/WebCore/testing/Internals.h
M Source/WebCore/testing/Internals.idl
Log Message:
-----------
Site isolation: test_driver.click cannot resolve a cross-process subframe
element's top-window coordinate, so synthetic clicks (and bless()) miss
https://bugs.webkit.org/show_bug.cgi?id=318763
rdar://181625119
Reviewed by Anne van Kesteren.
Use boundingBoxInMainFrameViewCoordinates instead of
boundingBoxInRootViewCoordinates
so that the activation happens at the right coordinates even when the site
isolation is enabled.
Tests: http/wpt/user-activation/bless.html
http/wpt/user-activation/bless-nested.sub.html
http/wpt/user-activation/bless-edge-cases.sub.html
* LayoutTests/platform/mac-site-isolation/TestExpectations:
* LayoutTests/resources/testdriver-vendor.js:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::boundingBoxInMainFrameViewCoordinates):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:
Canonical link: https://commits.webkit.org/322854@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications