Bug 239010 - TestRunner’s calls to [WebAccessibilityObjectWrapper accessibilityArrayAttributeCount:] need to be dispatch to the AX secondary thread.
Summary: TestRunner’s calls to [WebAccessibilityObjectWrapper accessibilityArrayAttrib...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Andres Gonzalez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-08 11:21 PDT by Andres Gonzalez
Modified: 2022-04-11 08:54 PDT (History)
4 users (show)

See Also:


Attachments
Patch (4.36 KB, patch)
2022-04-08 11:33 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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