[Webkit-unassigned] [Bug 16753] date set methods with no args should result in NaN (acid3 bug)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 5 14:59:32 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16753





------- Comment #1 from eric at webkit.org  2008-01-05 14:59 PDT -------
This is the spec:

15.9.5.29 Date.prototype.setUTCMilliseconds(ms)
1. Let t be this time value.
2. Call ToNumber(ms).
3. Compute MakeTime(HourFromTime(t), MinFromTime(t), SecFromTime(t),
Result(2)).
4. Compute MakeDate(Day(t), Result(3)).
5. Set the [[Value]] property of the this value to TimeClip(Result(4)).
6. Return the value of the [[Value]] property of the this value.

I'm not sure I fully understand why this turns date into NaN yet.


-- 
Configure bugmail: http://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