[Webkit-unassigned] [Bug 68330] New: Expose rangeFromLocationAndLength and locationAndLengthFromRange via internals object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 18 20:10:03 PDT 2011


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

           Summary: Expose rangeFromLocationAndLength and
                    locationAndLengthFromRange via internals object
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: ap at webkit.org, mitz at webkit.org, tkent at chromium.org,
                    enrica at apple.com, inferno at chromium.org,
                    leviw at chromium.org, sullivan at chromium.org


TextIterator is one of the most important class in the editing component yet it's very under-tested as exemplified by the number of security and non-security bugs we had in this class. To mitigate this issue, I'd like to expose rangeFromLocationAndLength and locationAndLengthFromRange via window.internals. This allows us to test common usage of TextIterator throughly (Source/WebKit code only use TextIterator through these two functions) and fuzz-test them.

-- 
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