(2014/05/08 0:49), Glenn Maynard wrote:
Can you remind me why this shouldn't just use real time, eg. using the Unix
epoch as the time base? It was some privacy concern, but I can't think of
any privacy argument for giving high-resolution event timestamps in units
that are this limited and awkward.
 has some justification for why we don't use 1970. As does .
I'm not sure what the privacy concerns raised in the past were with
regards to 1970.
If you treat Date.now() as your global clock, you can roughly convert
between different performance timelines but with the caveat that you
lose precision and are vulnerable to system clock adjustments. (There is
actually a method defined for converting between timelines in Web
Animations but the plan is to remove it.)