[Bug 23853] Please clarify the interpretation of the WebIDL undefined Date in the File constructor

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23853

--- Comment #12 from Jonas Sicking <jonas@sicking.cc> ---
Indeed. TC39 basically said that the Date object is so riddled with problems
that it's generally better to avoid it in specs.

And yes, I would say that we should use a numeric 'lastModified' in the
dictionary too.

Note that this still means that you can pass a Date object as value for
lastModified. This since converting a Date object to a numeric value is defined
by ES as grabbing the internal value inside the Date. So it will 'just work'
without having to do anything special in neither the WebIDL or in the
implementation.

But yes. I think File.lastModified should return a number.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 18 November 2013 22:58:08 UTC