Opened 11 months ago

Last modified 11 months ago

#23463 needs_information defect

Javascript based clocks can tick backwards

Reported by: cypherpunks Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: time javascript clock
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

In Tor Browser, pages with a clock or timer sometimes appear to count backwards, which can cause problems. Firefox does not have the same behavior. I suspect this is caused by patches to reduce timer precision. Please provide a pref or way to disable this behavior and obtain monotonically increasing time with full precision.

I understand the original reasons for the patch(es) in question, but the reduced precision is not good for all purposes.

Child Tickets

Change History (2)

comment:1 Changed 11 months ago by mcs

Status: newneeds_information

It is surprising to me that our patches to reduce time precision would cause a clock to move backwards, but there must be some difference in Tor Browser that is causing this. Can you point to a web page that demonstrates the problem? Otherwise it may be impossible to make the correct fix.

comment:2 Changed 11 months ago by gk

You can disable that already today if you want by disabling all the fingerprinting protections (about:preferences#privacy -> Change details that distinguish you from other Tor Browser users). There won't be a single pref just for the rounding of timestamps, though.

Thus, as mcs indicated, it is much better if we can track this bug down and fix it properly.

Note: See TracTickets for help on using tickets.