[Webkit-unassigned] [Bug 43418] New: [GTK] Extra check needed at AccessibilityObject::visiblePositionRangeForRange

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 3 06:19:46 PDT 2010


           Summary: [GTK] Extra check needed at
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Accessibility
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: msanchez at igalia.com

It would be needed to make some extra checks at AccessibilityObject::visiblePositionRangeForRange to make sure toRenderText() function is called with valid parameters, that is, a RenderObject returning 'true when calling to its isText() method.

This check is needed because current code doesn't do it and could be executed with RenderObjects other than instances of the RenderText subclass, resulting in failures such as the one in the following stack trace:


I'm now building WK with a patch for this. Will attach it as soon as I tested it.

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