Bug 244069 - AX: AccessibilityObject does not always update its m_lastKnownIsIgnoredValue which can result in missing calls to AXObjectCache::childrenChanged
Summary: AX: AccessibilityObject does not always update its m_lastKnownIsIgnoredValue ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tyler Wilcock
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-17 17:23 PDT by Tyler Wilcock
Modified: 2022-08-19 09:41 PDT (History)
10 users (show)

See Also:


Attachments
Patch (20.66 KB, patch)
2022-08-17 19:16 PDT, Tyler Wilcock
no flags Details | Formatted Diff | Diff
Patch (22.40 KB, patch)
2022-08-18 09:45 PDT, Tyler Wilcock
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tyler Wilcock 2022-08-17 17:23:42 PDT
AccessibilityObject does not always update its m_lastKnownIsIgnoredValue which can result in missing calls to AXObjectCache::childrenChanged
Comment 1 Radar WebKit Bug Importer 2022-08-17 17:23:52 PDT
<rdar://problem/98806646>
Comment 2 Tyler Wilcock 2022-08-17 19:16:31 PDT
Created attachment 461703 [details]
Patch
Comment 3 Tyler Wilcock 2022-08-18 09:45:45 PDT
Created attachment 461713 [details]
Patch
Comment 4 chris fleizach 2022-08-18 10:01:39 PDT
Comment on attachment 461713 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=461713&action=review

> Source/WebCore/accessibility/AccessibilityObject.cpp:3804
> +    if (cache

should we should return immediately if !cache
Comment 5 Tyler Wilcock 2022-08-18 11:14:47 PDT
(In reply to chris fleizach from comment #4)
> Comment on attachment 461713 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=461713&action=review
> 
> > Source/WebCore/accessibility/AccessibilityObject.cpp:3804
> > +    if (cache
> 
> should we should return immediately if !cache
I don't think so, since we'll still want to computeAccessibilityIsIgnored and return that result to the caller (which is not dependent on the cache).
Comment 6 EWS 2022-08-19 09:41:37 PDT
Committed 253598@main (45a88c53617c): <https://commits.webkit.org/253598@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 461713 [details].