Commit Graph

2 Commits

Author SHA1 Message Date
Jonathan Hao
fd3d68110a Bug 1217238 - Reduce time precision when privacy.resistFingerprinting is on. r=mystor
This patch is adapted from Tor bug 1517.

To offer some protection against timing attacks by JS content pages, in this
patch we round the various time-exposing APIs (such as Date and
Event.timeStamps) to the nearest 100 ms when the pref "privacy.resistFingerprinting" is on.

MozReview-Commit-ID: eGucM9nGTn
2017-06-06 11:45:14 +08:00
Andrea Marchesini
c048b4585c Bug 1339871 - Splitting dom/file/File.{h,cpp}, r=smaug 2017-02-16 18:26:38 +01:00