[Webkit-unassigned] [Bug 121602] New: AX: Accessibility methods using textUnderElement should be declared as non-const

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 19 04:12:21 PDT 2013


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

           Summary: AX: Accessibility methods using textUnderElement
                    should be declared as non-const
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mario at webkit.org
                CC: cfleizach at apple.com,
                    webkit-bug-importer at group.apple.com


Since bug 120891 got fixed, the layout will always be updated by just using a TextIterator (it happens in the constructor), which is used from AccessibilityRenderObject::textUnderElement() when dealing with text objects. This means that calls to that method can potentially alter the accessibility tree and thus other methods relying on this should be considered as non-const.

See a longer explanation in https://bugs.webkit.org/show_bug.cgi?id=121558#c5

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list