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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 12 16:07:31 PST 2010


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





--- Comment #19 from Justin Lebar <justin.lebar+bug at gmail.com>  2010-03-12 16:07:30 PST ---
(In reply to comment #18)
> How about printing a warning to JavaScript console instead of throwing an
> exception?

I feel like throwing an exception is the right thing to do since it allows the
application to handle the case when the modify() doesn't go through.  But feel
free to suggest this on the Mozilla bug.

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