Changeset 259834 in webkit
- Timestamp:
- Apr 9, 2020, 3:17:29 PM (6 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r259833 r259834 1 2020-04-09 Andres Gonzalez <andresg_22@apple.com> 2 3 WKAccessibilityRootObject must run on the main thread. 4 https://bugs.webkit.org/show_bug.cgi?id=210306 5 6 Reviewed by Chris Fleizach. 7 8 WKAccessibilityRootObject needs to run on the main thread because makes 9 calls into Document and Page. So reverting the change to make it run on 10 the AX thread. This means that we cannot simulate getting the root 11 object on the secondary thread at the moment, as it would with an 12 accessibility client that supports isolated tree mode. So it is a 13 tradeoff made for the time being to be able to make progress in testing 14 the rest of the functionality of AXIsolatedTree/Object. 15 16 * WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm: 17 (WTR::AccessibilityController::accessibleElementById): 18 1 19 2020-04-09 David Kilzer <ddkilzer@apple.com> 2 20 -
trunk/Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm
r257739 r259834 98 98 { 99 99 WKBundlePageRef page = InjectedBundle::singleton().page()->page(); 100 PlatformUIElement root = nullptr; 101 102 executeOnAXThreadIfPossible([&page, &root] { 103 root = static_cast<PlatformUIElement>(WKAccessibilityRootObject(page)); 104 }); 100 PlatformUIElement root = static_cast<PlatformUIElement>(WKAccessibilityRootObject(page)); 105 101 106 102 id result;
Note:
See TracChangeset
for help on using the changeset viewer.