[Webkit-unassigned] [Bug 33510] New: selection.modify() should throw an exception if the selection does not have a range or is detached

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 11 19:56:11 PST 2010


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

           Summary: selection.modify() should throw an exception if the
                    selection does not have a range or is detached
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: justin.lebar+bug at gmail.com


If we call selection.removeAllRanges() or selection.getRangeAt(0).detach(),
then perhaps selection.modify() should throw an exception, indicating that
there's no selection to modify.  selection.modify() currently silently fails in
this case.

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