[Webkit-unassigned] [Bug 33911] HTMLInputElement::valueAsDate setter support for type=date.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 21 09:47:48 PST 2010


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





--- Comment #7 from Darin Adler <darin at apple.com>  2010-01-21 09:47:48 PST ---
But another option is to simply say that when false is returned, the date time
object is in an "undefined" state in the documentation for the class. We could
even have a debugging flag to enforce that rule.

Another way is to eliminate the return value and instead have the ISODateTime
get into a "bad", "undefined", "failed", or "empty" state to indicate the
error. A persistent state rather than a return value from the setter function.
Could clean up the interface a bit, but does create more risk someone might
forget to check the success or failure.

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