WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
239787
AXObjectCache::childrenChanged modifies m_deferred* member variables but doesn't start timer to process them
https://bugs.webkit.org/show_bug.cgi?id=239787
Summary
AXObjectCache::childrenChanged modifies m_deferred* member variables but does...
Tyler Wilcock
Reported
2022-04-26 13:24:37 PDT
AXObjectCache::childrenChanged modifies m_deferred* member variables but doesn't start timer to process them
Attachments
Patch
(7.52 KB, patch)
2022-04-26 13:39 PDT
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Patch
(8.02 KB, patch)
2022-04-27 08:26 PDT
,
Tyler Wilcock
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-04-26 13:24:51 PDT
<
rdar://problem/92354189
>
Tyler Wilcock
Comment 2
2022-04-26 13:39:12 PDT
Created
attachment 458405
[details]
Patch
chris fleizach
Comment 3
2022-04-26 22:36:28 PDT
Comment on
attachment 458405
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=458405&action=review
> Source/WebCore/ChangeLog:13 > + m_deferredNodeAdditionOrRemovalList, since this more accurately
can we make this name shorter. something like m_deferredNodeChangeList
> Source/WebCore/accessibility/AXObjectCache.cpp:1123 > if (!renderer)
can we make this method call into childrenChange(Node*) instead of duplicating code?
Tyler Wilcock
Comment 4
2022-04-27 08:26:58 PDT
Created
attachment 458447
[details]
Patch
Tyler Wilcock
Comment 5
2022-04-27 08:35:28 PDT
> > Source/WebCore/ChangeLog:13 > > + m_deferredNodeAdditionOrRemovalList, since this more accurately > > can we make this name shorter. something like > m_deferredNodeChangeList
To me, "node change list" is a little too vague, as that could encompass any change (e.g. an attribute change). I made it slightly shorter with m_deferredNodeAddedOrRemovedList.
> > Source/WebCore/accessibility/AXObjectCache.cpp:1123 > > if (!renderer) > > can we make this method call into childrenChange(Node*) instead of > duplicating code?
We could do that if we can assume every renderer has a node, but I personally don't feel comfortable making that assumption since the opposite assumption has bitten us (every node having a renderer). I refactored in other ways (including a new deferNodeAddedOrRemoved method that I'll add to in a later modal patch) to reduce duplication.
EWS
Comment 6
2022-04-27 22:37:59 PDT
Committed
r293566
(
250080@main
): <
https://commits.webkit.org/250080@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 458447
[details]
.
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