User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.99 Safari/537.36 Steps to reproduce: Set the system of a clock to 5 minutes ago. Leave the server untouched and NTP synced. Date.now() is now unusable for Networking, because it's non-reliable. You manually have to implement 1. a hearbeat and tick and 2. a custom Date.now() method that respects the offset of time to the other connection, which is pretty much useless for networking (if server is still out of sync). I expected to have a Browser that is automatically supporting NTP in the background. Why is there no spec or draft for it? In times of WebSockets, this is a _huge_ issue. Actual results: Date.now() used system clock and not NTP, which caused asynchronous behaviours on server and client. Expected results: Date.now() should rely on NTP protocol to ensure correct system clock.
Product: Firefox → Core
Why the system clock does not sync with NTP? It's the operating system job to sync the clock, not an application.
Hello Reporter, are you satisfied with Masatoshi's response. If not, do you see a different behavior with other browser's like Chrome, IE, etc. Let us know.
It seems that the reporter's account is disabled. Therefore no answer is expected. Going ahead and closing this issue as it seems an invalid defect because it should be OS job to sync the clock, not Firefox.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.