WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 207581
206596
Implement AX isolated tree mode support for event notifications.
https://bugs.webkit.org/show_bug.cgi?id=206596
Summary
Implement AX isolated tree mode support for event notifications.
Andres Gonzalez
Reported
2020-01-22 10:44:16 PST
Implement AX isolated tree mode support for event notifications.
Attachments
Patch
(32.42 KB, patch)
2020-01-22 11:08 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Patch
(33.92 KB, patch)
2020-01-22 11:57 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Patch
(33.99 KB, patch)
2020-01-22 12:45 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Patch
(34.78 KB, patch)
2020-01-22 13:11 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Andres Gonzalez
Comment 1
2020-01-22 11:08:59 PST
Created
attachment 388442
[details]
Patch
Andres Gonzalez
Comment 2
2020-01-22 11:57:57 PST
Created
attachment 388455
[details]
Patch
Andres Gonzalez
Comment 3
2020-01-22 11:59:21 PST
(In reply to Andres Gonzalez from
comment #2
)
> Created
attachment 388455
[details]
> Patch
Fix for GTK and WIN builds.
chris fleizach
Comment 4
2020-01-22 12:12:02 PST
Comment on
attachment 388455
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=388455&action=review
> Source/WebCore/accessibility/AXObjectCache.cpp:606 > +void AXObjectCache::cacheAndWrap(AccessibilityObject* newObject, RenderObject* renderer, Node* node, Widget* widget)
maybe rename to cacheAndInitializeWrapperObject()
> Source/WebCore/accessibility/AXObjectCache.cpp:806 > + RefPtr<AccessibilityObject> obj;
how come you want to remove the initialization?
Andres Gonzalez
Comment 5
2020-01-22 12:22:15 PST
(In reply to chris fleizach from
comment #4
)
> Comment on
attachment 388455
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=388455&action=review
> > > Source/WebCore/accessibility/AXObjectCache.cpp:606 > > +void AXObjectCache::cacheAndWrap(AccessibilityObject* newObject, RenderObject* renderer, Node* node, Widget* widget) > > maybe rename to cacheAndInitializeWrapperObject()
Done.
> > > Source/WebCore/accessibility/AXObjectCache.cpp:806 > > + RefPtr<AccessibilityObject> obj; > > how come you want to remove the initialization?
The default constructor of most smart pointers typically initialize the internal pointer to nullptr, like in the case of RefPtr: ALWAYS_INLINE constexpr RefPtr() : m_ptr(nullptr) { } In this case it is also followed by a switch that will initialize the pointer to something, including: default: obj = nullptr;
Andres Gonzalez
Comment 6
2020-01-22 12:45:40 PST
Created
attachment 388461
[details]
Patch
Andres Gonzalez
Comment 7
2020-01-22 13:11:18 PST
Created
attachment 388462
[details]
Patch
Andres Gonzalez
Comment 8
2020-01-22 13:13:06 PST
(In reply to Andres Gonzalez from
comment #7
)
> Created
attachment 388462
[details]
> Patch
Another fix for GTK.
chris fleizach
Comment 9
2020-01-22 15:33:49 PST
Comment on
attachment 388462
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=388462&action=review
> Source/WebCore/accessibility/AXObjectCache.cpp:1032 > + AccessibilityObject* obj = note.first.get();
seems like an auto here would be an improvement
> Source/WebCore/accessibility/AXObjectCache.cpp:1152 > + return isolatedObjectForAXObject(*axObject).get();
this worries me here that we're accessing the tree and objects on that tree on the main thread now
chris fleizach
Comment 10
2020-03-07 00:13:50 PST
Do we still need this one? or is it obsolete
Andres Gonzalez
Comment 11
2020-03-07 07:57:56 PST
*** This bug has been marked as a duplicate of
bug 207581
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug