Isolated tree mode: Dispatch all calls to [WebAccessibilityObjectWrapper accessibilityAttributeValue] in WTR::AccessibilityUIElement to the AX thread.
<rdar://problem/84738483>
Created attachment 442665 [details] Patch
Comment on attachment 442665 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=442665&action=review > Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:341 > + return ::WTR::attributeValue(m_element.get(), attributeName); do we need the preceding colons? ::WTR > Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:787 > + id description = descriptionOfValue(attributeValue(@"AXLanguage"), m_element.get()); do you want to make descriptionOfValue also take only one argument, and handle m_element inside of it?
Created attachment 442705 [details] Patch
Created attachment 442706 [details] Patch
(In reply to chris fleizach from comment #3) > Comment on attachment 442665 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=442665&action=review > > > Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:341 > > + return ::WTR::attributeValue(m_element.get(), attributeName); > > do we need the preceding colons? ::WTR Nope, removed it. When trying to put it in the header as an inline, the compiler was complaining about it, but ended up moving it to the .mm and now the compiler is fine without the ::. > > > Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm:787 > > + id description = descriptionOfValue(attributeValue(@"AXLanguage"), m_element.get()); > > do you want to make descriptionOfValue also take only one argument, and > handle m_element inside of it? Done.
Committed r284998 (243644@main): <https://commits.webkit.org/243644@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442706 [details].