Bug 237801

Summary: AX: Move addChildren, addChild, insertChild, canHaveChildren, setNeedsToUpdateChildren, setNeedsToUpdateSubtree, clearChildren, and needsToUpdateChildren out of AXCoreObject interface
Product: WebKit Reporter: Tyler Wilcock <tyler_w>
Component: AccessibilityAssignee: Tyler Wilcock <tyler_w>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, jcraig, jdiggs, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Tyler Wilcock 2022-03-11 16:56:54 PST
All of these methods are ASSERT_NOT_REACHED no-ops for AXIsolatedObjects, so we should move these virtual methods to AccessibilityObject instead.
Comment 1 Radar WebKit Bug Importer 2022-03-11 16:57:07 PST
<rdar://problem/90188014>
Comment 2 Tyler Wilcock 2022-03-11 17:06:41 PST
Created attachment 454524 [details]
Patch
Comment 3 Andres Gonzalez 2022-03-14 07:06:40 PDT
(In reply to Tyler Wilcock from comment #2)
> Created attachment 454524 [details]
> Patch

--- a/Source/WebCore/accessibility/AccessibilityObject.h
+++ a/Source/WebCore/accessibility/AccessibilityObject.h

+    enum class DescendIfIgnored : uint8_t {
+        No,
+        Yes
+    };

Can we make this a one-liner? I.e.:

enum class DescendIfIgnored : uint8_t { No, Yes };
Comment 4 Tyler Wilcock 2022-03-14 08:27:01 PDT
Created attachment 454592 [details]
Patch
Comment 5 EWS 2022-03-14 10:35:56 PDT
Committed r291237 (248392@main): <https://commits.webkit.org/248392@main>

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