Bug 239010

Summary: TestRunner’s calls to [WebAccessibilityObjectWrapper accessibilityArrayAttributeCount:] need to be dispatch to the AX secondary thread.
Product: WebKit Reporter: Andres Gonzalez <andresg_22>
Component: AccessibilityAssignee: Andres Gonzalez <andresg_22>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, cfleizach, darin, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Andres Gonzalez 2022-04-08 11:21:10 PDT
TestRunner’s calls to [WebAccessibilityObjectWrapper accessibilityArrayAttributeCount:] need to be dispatch to the AX secondary thread.
Comment 1 Radar WebKit Bug Importer 2022-04-08 11:21:19 PDT
<rdar://problem/91493569>
Comment 2 Andres Gonzalez 2022-04-08 11:33:28 PDT
Created attachment 457101 [details]
Patch
Comment 3 EWS 2022-04-11 06:45:10 PDT
Committed r292707 (249499@main): <https://commits.webkit.org/249499@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 457101 [details].
Comment 4 Darin Adler 2022-04-11 08:54:09 PDT
Comment on attachment 457101 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=457101&action=review

> Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:341
> +    s_controller->executeOnAXThreadAndWait([&attributeName, &count, this] {

I think this could be just attributeName instead of &attributeName