[Webkit-unassigned] [Bug 243927] New: WebAccessibilityObjectWrapperBase m_isolatedObject and m_axObject should have stronger types than AXCoreObject

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 14 10:48:20 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=243927

            Bug ID: 243927
           Summary: WebAccessibilityObjectWrapperBase m_isolatedObject and
                    m_axObject should have stronger types than
                    AXCoreObject
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tyler_w at apple.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

These member variables are clearly intended to contain a live object (AccessibilityObject) and isolated object (AXIsolatedObject) respectively, and they should be typed as such so we can avoid accidentally assigning the wrong object to each variable. This also makes future refactors easier (e.g. https://bugs.webkit.org/show_bug.cgi?id=243920) reducing the amount of casting required.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220814/3fea64dd/attachment.htm>


More information about the webkit-unassigned mailing list