[Webkit-unassigned] [Bug 37743] Separate clock time functions used by JavaScript from monotonically increasing time needed elsewhere

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 31 15:44:13 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=37743





--- Comment #39 from James Simonsen <simonjam at chromium.org>  2011-05-31 15:44:11 PST ---
(In reply to comment #38)
> (In reply to comment #37)
> > The hope was that having separate types would discourage people from confusing them with the values returned from currentTime.
> 
> Interesting and clever. Not sure I like it, though. It’s pretty easy to mix integers and floating point numbers by accident anyway.

Agreed. We'd need a class to do it properly and that seems heavy for what we're trying to accomplish.

> > A double of seconds is just as useful for my purposes though, so I'm happy to switch if you'd like.
> 
> I slightly prefer it.

Patch on the way...

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list