Bug 244687

Summary: AX ITM: pass Ref<AXCoreObject> to live objects by reference.
Product: WebKit Reporter: Andres Gonzalez <andresg_22>
Component: AccessibilityAssignee: Andres Gonzalez <andresg_22>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, tyler_w, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch none

Andres Gonzalez
Reported 2022-09-01 14:32:17 PDT
Attachments
Patch (8.18 KB, patch)
2022-09-01 14:45 PDT, Andres Gonzalez
no flags
Patch (8.94 KB, patch)
2022-09-01 18:08 PDT, Andres Gonzalez
no flags
Radar WebKit Bug Importer
Comment 1 2022-09-01 14:32:29 PDT
Andres Gonzalez
Comment 2 2022-09-01 14:45:02 PDT
Andres Gonzalez
Comment 3 2022-09-01 18:08:14 PDT
Tyler Wilcock
Comment 4 2022-09-01 19:08:43 PDT
Comment on attachment 462082 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=462082&action=review > Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:273 > + AXLOG(axObject.ptr()); I think (but am not 100% sure) this will only log the memory address of the object. Does axObject.get() (which returns a reference) compile?
Andres Gonzalez
Comment 5 2022-09-02 05:21:00 PDT
(In reply to Tyler Wilcock from comment #4) > Comment on attachment 462082 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=462082&action=review > > > Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:273 > > + AXLOG(axObject.ptr()); > > I think (but am not 100% sure) this will only log the memory address of the > object. Does axObject.get() (which returns a reference) compile? No, AXLogger::log takes a pointer not a reference, so you need ptr().
EWS
Comment 6 2022-09-02 12:22:07 PDT
Committed 254107@main (276e9d6f7b36): <https://commits.webkit.org/254107@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 462082 [details].
Note You need to log in before you can comment on or make changes to this bug.