[Webkit-unassigned] [Bug 23300] Selection functions should throw exceptions when used on buttons
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 13 13:11:51 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=23300
------- Comment #3 from ager at chromium.org 2009-01-13 13:11 PDT -------
(In reply to comment #2)
> Are there any known sites that require this?
Not that I know of, no.
As far as I can tell, we have tried to be compatible with Firefox here. The
selection-function test seemed to pass on Firefox but only because it throws
exceptions along the way.
I like the fact that this gets rid of the custom getOwnPropertySlot
implementation. Come to think of it, that custom implementation will get in
the way of changes to setSelectionRange on buttons:
HTMLInputElement.prototype.setSelectionRange = function(){};
var b = document.getElementById("button");
b.setSelectionRange; // <--- undefined
Also, returning undefined will probably lead to exceptions throw in the code
anyway since people will most likely try to call the function or use the value
of the attributes?
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list