- From: Philip Jägenstedt <notifications@github.com>
- Date: Tue, 22 Mar 2016 01:28:46 -0700
- To: whatwg/xhr <xhr@noreply.github.com>
Received on Tuesday, 22 March 2016 08:29:16 UTC
What kind of date handling is done of the server that there are no good APIs for in the browser? I guess it's not simply adding/subtracting a timezone offset, so something to do with human readable strings like "America/Pacific", maybe? If you know up front the offset between `performance.now()` and the server-side time in UTC, then I doubt you'd need to sync it more than say once a week/month or so. How much does `performance.now()` drift, in practice? As for just lowering the timeout, in order to ensure that scripted animations are not janky, the timeout would have to be before the next animation frame callback, so never more than 16ms. Even on the fastest of networks, that's not going to be reliable. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/xhr/issues/20#issuecomment-199699712
Received on Tuesday, 22 March 2016 08:29:16 UTC