Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 833adfcdc125889ba145a1d95077dcf398d59f8b https://github.com/WebKit/WebKit/commit/833adfcdc125889ba145a1d95077dcf398d59f8b Author: Charlie Wolfe <charl...@apple.com> Date: 2024-07-24 (Wed, 24 Jul 2024)
Changed paths: M LayoutTests/platform/mac-site-isolation/TestExpectations M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp M Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h M Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp M Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h M Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityControllerAtspi.cpp M Tools/WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm M Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm M Tools/WebKitTestRunner/InjectedBundle/playstation/AccessibilityControllerPlayStation.cpp M Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityControllerWin.cpp Log Message: ----------- [Site Isolation] Fix `WKAccessibilityRootObject` rdar://132428902 https://bugs.webkit.org/show_bug.cgi?id=277028 Reviewed by Alex Christensen. `WKAccessibilityRootObject` tries to get the root AX object on the main frame's document, which won't work if the main frame is out-of-process. Add `_WKAccessibilityRootObject` to get the root AX object from the frame that is calling `accessibleElementById`. * LayoutTests/platform/mac-site-isolation/TestExpectations: * Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: (WKAccessibilityRootObject): * Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h: * Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: (WKAccessibilityRootObject): Deleted. * Source/WebKit/WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h: * Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.cpp: (WTR::AccessibilityController::rootElement): (WTR::AccessibilityController::elementAtPoint): * Tools/WebKitTestRunner/InjectedBundle/AccessibilityController.h: * Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityControllerAtspi.cpp: (WTR::AccessibilityController::accessibleElementById): (WTR::AccessibilityController::rootElement): (WTR::AccessibilityController::focusedElement): * Tools/WebKitTestRunner/InjectedBundle/ios/AccessibilityControllerIOS.mm: (WTR::AccessibilityController::focusedElement): (WTR::AccessibilityController::accessibleElementById): * Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm: (WTR::AccessibilityController::focusedElement): (WTR::AccessibilityController::accessibleElementById): * Tools/WebKitTestRunner/InjectedBundle/playstation/AccessibilityControllerPlayStation.cpp: (WTR::AccessibilityController::accessibleElementById): (WTR::AccessibilityController::rootElement): (WTR::AccessibilityController::focusedElement): * Tools/WebKitTestRunner/InjectedBundle/win/AccessibilityControllerWin.cpp: (WTR::AccessibilityController::accessibleElementById): (WTR::AccessibilityController::rootElement): (WTR::AccessibilityController::focusedElement): Canonical link: https://commits.webkit.org/281333@main To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes