[Bug 16539] The undefined date type


--- Comment #1 from Cameron McCormack <cam@mcc.id.au> 2012-03-27 23:07:29 UTC ---
This is the algorithm from converting from a JS value to an IDL value of type
Date.  It doesn't mean "return undefined" or "return new Date(undefined)" -- it
doesn't really make sense to think about returning JS values here.

The IDL Date type has values that correspond to all of the possibly time values
that JS Date objects can represent, including the time value that does not
represent a specific point in time (which in a JS Date object is one that could
be created by for example evaluating `new Date("")`).  In space of IDL Date
type values, I just call that value "undefined".

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 27 March 2012 23:07:38 UTC