gecko-dev/dom/animation
Tim Huang 5d6e73cb8d Bug 1382545 - Part 1: Rounding the time of Animation API to 100ms when 'privacy.resistFingerprinting'is true. r=arthuredelstein,birtles
Adopt from Tor #16337.

This patch makes Animation API to report a rounded time when 'privacy.resistFingerprinting'
is true. The Animation API uses AnimationUtils::TimeDurationToDouble() to convert
its time duration into a double value and reports it when someone tries to query
time through Animation API. So, we use nsRFPService::ReduceTimePrecisionAsMSecs()
inside this method to round the time in the scope of the millisecond.

MozReview-Commit-ID: 8o01G6AlAu9

--HG--
extra : rebase_source : e2d52f04c1d63accb786f6cf9b1a102607eed517
2017-08-17 22:37:29 +08:00
..
test Bug 1389429 - Part 1: Add a test for rotate3d with the non-nomalizable direction vector. r=birtles 2017-08-16 11:19:38 +08:00
AnimValuesStyleRule.cpp Bug 1384542: Move GetParent and IsLinkContext to GeckoStyleContext. r=heycam 2017-07-31 14:32:59 +02:00
AnimValuesStyleRule.h
Animation.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
Animation.h Bug 1340958 - Templatize ComposeStyle. r=birtles 2017-03-17 13:22:13 +09:00
AnimationComparator.h
AnimationEffectReadOnly.cpp Bug 1367975 - Call RequestRestyle(Layer) when specified timing is changed for CSS animations. r=birtles 2017-08-03 06:34:38 +09:00
AnimationEffectReadOnly.h
AnimationEffectTiming.cpp Bug 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles 2017-06-22 12:12:43 +09:00
AnimationEffectTiming.h
AnimationEffectTimingReadOnly.cpp Bug 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles 2017-06-22 12:12:43 +09:00
AnimationEffectTimingReadOnly.h Bug 1374882 - Encapsulate TimingParams's member variables. r=birtles 2017-06-22 12:12:43 +09:00
AnimationPerformanceWarning.cpp Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron. 2017-08-04 14:40:52 +10:00
AnimationPerformanceWarning.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
AnimationPropertySegment.h Bug 1311257 - Move AnimationPropertySegment in a separate header and expose it in FFI. r=heycam 2017-04-06 10:34:50 +09:00
AnimationTarget.h Bug 1318223 - Use NonOwningAnimationTarget in OwningElementRef. r=boris, r=birtles 2017-03-26 16:46:00 -04:00
AnimationTimeline.cpp Bug 1374125 - Use EnsureInserted instead of Contains+PutEntry to avoid unnecessary hashtable lookups. r=froydnj 2017-06-19 18:19:14 +02:00
AnimationTimeline.h
AnimationUtils.cpp
AnimationUtils.h Bug 1382545 - Part 1: Rounding the time of Animation API to 100ms when 'privacy.resistFingerprinting'is true. r=arthuredelstein,birtles 2017-08-17 22:37:29 +08:00
CSSPseudoElement.cpp
CSSPseudoElement.h
ComputedTiming.h Bug 1264125 part 10 - Remove unnecessary whitespace and align the colum of variable definition on ComputedTiming.h. r=whitespace-only DONTBUILD 2017-04-27 09:10:44 +09:00
ComputedTimingFunction.cpp
ComputedTimingFunction.h Bug 1354947 - Add equal operators for comparing ComputedTimingFunction with nsTimingFunction. r=birtles 2017-05-13 16:34:38 +09:00
DocumentTimeline.cpp
DocumentTimeline.h
EffectCompositor.cpp Bug 1388031 - Process normal traversal for throttled animation flush as well. r=bholley 2017-08-11 20:34:06 -07:00
EffectCompositor.h Bug 1388031 - Process normal traversal for throttled animation flush as well. r=bholley 2017-08-11 20:34:06 -07:00
EffectSet.cpp Bug 1361183 - Check Element::MayHaveAnimations() in EffectSet::GetEffectSet(). r=birtles 2017-05-02 07:25:50 +09:00
EffectSet.h Bug 1205475 - (followup) Declare mMayHaveOpacityAnim and mMayHaveTransformAnim as bool. r=me 2017-05-23 21:47:46 +08:00
Keyframe.h Bug 1381389 - Append PropertyValuePair objects on Gecko side so they are initialized correctly; r=hiro 2017-07-20 14:38:54 +09:00
KeyframeEffect.cpp Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffect.h Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffectParams.h Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffectReadOnly.cpp Bug 1385139 - Expand var() references in keyframes from CSS animations when serializing; r=hiro 2017-08-21 12:35:35 +09:00
KeyframeEffectReadOnly.h Bug 1381844: Be more explicit about the kind of style context we handle all the time. r=bholley 2017-07-22 18:02:57 +02:00
KeyframeUtils.cpp Bug 1381764: Cleanup the Gecko bits. r=manishearth 2017-07-18 16:22:00 -07:00
KeyframeUtils.h Bug 1382017 part 4 Gecko piece - Remove usage of ServoComputedValues from most Gecko code; r=xidorn 2017-07-20 17:27:05 -07:00
PendingAnimationTracker.cpp
PendingAnimationTracker.h
PseudoElementHashEntry.h
TimingParams.cpp Bug 1374882 - Precompute active duration and end time. r=birtles 2017-06-22 12:12:43 +09:00
TimingParams.h Bug 1374882 - Insert 'Timing' word into the names for setter/getter for timing function. r=birtles 2017-06-22 12:12:43 +09:00
moz.build Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00