[webkit-dev] currentTime() and UTC time

tonikitoo (Antonio Gomes) tonikitoo at gmail.com
Mon Apr 19 06:45:39 PDT 2010

I agree with the fact that it should not rely on currentTime() as it
currently does. It is probably the root of bugs like
https://bugs.webkit.org/show_bug.cgi?id=31550 and many others.

On Fri, Apr 16, 2010 at 11:50 AM, Yong Li <yong.li.webkit at gmail.com> wrote:
> 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.

--Antonio Gomes

More information about the webkit-dev mailing list