[Webkit-unassigned] [Bug 33509] New: selection.modify() should throw an exception if it receives invalid parameters

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


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

           Summary: selection.modify() should throw an exception if it
                    receives invalid parameters
           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


Currently, if you call selection.modify with nonsense arguments, the method
silently fails.  Instead, the method should throw an exception, informing the
programmer that the modify has failed.  This is important not only to inform
the developer of typos, but also to help programmers who might provide the
arguments to selection.modify() in the wrong order.

You can test this in attachment 46225 (on bug 33435):
https://bug-33435-attachments.webkit.org/attachment.cgi?id=46225

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