RESOLVED FIXED 210392
Make WTR::AccessibilityUIElements methods run on AX secondary thread.
https://bugs.webkit.org/show_bug.cgi?id=210392
Summary Make WTR::AccessibilityUIElements methods run on AX secondary thread.
Andres Gonzalez
Reported 2020-04-11 14:44:02 PDT
Make WTR::AccessibilityUIElements methods run on AX secondary thread.
Attachments
Patch (23.73 KB, patch)
2020-04-11 14:51 PDT, Andres Gonzalez
no flags
Patch (23.89 KB, patch)
2020-04-13 06:55 PDT, Andres Gonzalez
no flags
Andres Gonzalez
Comment 1 2020-04-11 14:51:03 PDT
chris fleizach
Comment 2 2020-04-11 17:56:38 PDT
GTK failures. looks like we have things like id in the .h file ../../Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:57:12: error: ‘id’ does not name a type; did you mean ‘GPid’? friend id attributeValue(id, NSString*); ^~ GPid ../../Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp:29: ../../Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:56:12: error: ‘NSArray’ does not name a type; did you mean ‘GArray’? friend NSArray* supportedAttributes(id); ^~~~~~~
Andres Gonzalez
Comment 3 2020-04-13 06:55:29 PDT
Andres Gonzalez
Comment 4 2020-04-13 06:57:56 PDT
(In reply to chris fleizach from comment #2) > GTK failures. looks like we have things like id in the .h file > > ../../Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:57:12: > error: ‘id’ does not name a type; did you mean ‘GPid’? > friend id attributeValue(id, NSString*); > ^~ > GPid > > ../../Tools/WebKitTestRunner/InjectedBundle/EventSendingController.cpp:29: > ../../Tools/WebKitTestRunner/InjectedBundle/AccessibilityUIElement.h:56:12: > error: ‘NSArray’ does not name a type; did you mean ‘GArray’? > friend NSArray* supportedAttributes(id); > ^~~~~~~ Fixed in latest revision.
chris fleizach
Comment 5 2020-04-13 10:01:06 PDT
Comment on attachment 396269 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=396269&action=review > Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:194 > + for (NSUInteger i = 0; i < attributes.count; ++i) { can we just do for (NSString *attribute in attributes) {
chris fleizach
Comment 6 2020-04-13 10:01:23 PDT
LGTM, but consider requests
EWS
Comment 7 2020-04-13 10:56:49 PDT
Committed r260029: <https://trac.webkit.org/changeset/260029> All reviewed patches have been landed. Closing bug and clearing flags on attachment 396269 [details].
Radar WebKit Bug Importer
Comment 8 2020-04-13 10:57:17 PDT
Note You need to log in before you can comment on or make changes to this bug.