[Webkit-unassigned] [Bug 38344] Remove custom bindings for HTMLInputElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 30 13:13:19 PDT 2010


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





--- Comment #5 from Darin Adler <darin at apple.com>  2010-04-30 13:13:18 PST ---
(From update of attachment 54732)
Throwing an exception when previously we would silently do nothing could easily
be a backward compatibility problem for the Objective-C bindings.

> +int HTMLInputElement::selectionStart(ExceptionCode& ec)
> +{
> +    if (!canHaveSelection()) {
> +        ec = TYPE_MISMATCH_ERR;
> +        return -1;
> +    }

I think this gives a different exception than before. Probably the new one is
correct and the old was incorrect, but since it's a behavior change I'd like to
see tests showing the behavior.

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