Cache the Widget associated with an AXObject on its AXIsolatedObject.
<rdar://problem/87250274>
Created attachment 448590 [details] Patch
Comment on attachment 448590 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=448590&action=review > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:2097 > + [] (WeakPtr<Widget>& typedValue) -> Widget* { return typedValue.get(); }, I don’t think we need the "-> Widget*" on this line of code
In further discussion we concluded that it is problematic to store the Widget pointer in the cache since the object can be accessed from both thread with undefined behavior. The alternative solution is done in https://bugs.webkit.org/show_bug.cgi?id=234973. Closing this bug since it is not longer applicable.