W3C home > Mailing lists > Public > public-html-media@w3.org > May 2015

[encrypted-media] |expiration| should be Unix time like Date()

From: ddorwin via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 May 2015 21:13:47 +0000
To: public-html-media@w3.org
Message-ID: <issues.opened-79163499-1432242826-sysbot+gh@w3.org>
ddorwin has just created a new issue for 
https://github.com/w3c/encrypted-media:

== |expiration| should be Unix time like Date() ==
The `expiration` attribute is currently defined as
>The time, in milliseconds since 01 January, 1970 UTC, ...

This could be interpreted as including leap seconds, which would 
appear to be inconsistent with ECMAScript and `Date()`, which [appear 
to expect Unix 
time](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-time-values-and-time-range).


Ideally, there would be a definition of time that all specs could 
point to. I'll follow up with Web IDL.

See https://github.com/w3c/encrypted-media/issues/59
Received on Thursday, 21 May 2015 21:13:49 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 21 May 2015 21:13:49 UTC