[Webkit-unassigned] [Bug 43793] Date("") should be an invalid date time

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 10 10:48:36 PDT 2010


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


Geoffrey Garen <ggaren at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #64013|review?                     |review-
               Flag|                            |




--- Comment #2 from Geoffrey Garen <ggaren at apple.com>  2010-08-10 10:48:36 PST ---
(From update of attachment 64013)
Why should new Date("") be NaN? Can you point to a part of a spec, or the behavior of another browser? As a general rule, it's better for your ChangeLog to explain the why, rather than the what.

>      cachedDateString = UString();
> +    cachedDateStringValue = NaN;

Can you explain why you needed to make this change?

UString() should not be == to UString(""). If it is, I think we have another bug to solve.

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