[webkit-dev] currentTime() and UTC time

Yong Li yong.li.webkit at gmail.com
Fri Apr 16 08:50:15 PDT 2010

Hi All

The default implementation of JS Date is calling currentTime() (by
jsCurrentTime()), so it assumes currentTime() returns current UTC time, and
system UTC time can be changed. However, currentTime() is also used in most
cases as a system tick count, which means it should always be monotonically
increasing. I guess we should remove the dependency on currentTime() from JS
Date to fix the confliction.

Any idea?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20100416/45d53a25/attachment.html>

More information about the webkit-dev mailing list