gecko-dev/dom/animation
Tooru Fujisawa 9a81f2437f Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles
KeyframeEffect and KeyframeEffectReadOnly constructors can run in the caller
compartment, which is okay because the current compartment is used in the
following places and all of them are safe:

1. GlobalObject::CallerType(), that is ultimately passed to
   nsDocument::IsWebAnimationsEnabled in KeyframeEffectParamsFromUnion,
   to decide whether to copy mIterationComposite/mComposite to
   KeyframeEffectParams.

   GlobalObject::CallerType() can now be different than the target window's one,
   if the caller has the system principal and the target is web content, and
   in that case nsDocument::IsWebAnimationsEnabled there always returns true
   while Web Animations can be disabled on web content.

   honoring the mIterationComposite/mComposite properties is OK, since it just
   changes the animation behavior, and this is disabled by default until
   remaining spec issues are resolved.

2. GlobalObject::Context(), that is ultimately passed to
   KeyframeUtils::GetKeyframesFromObject and used while extracting information
   from passed-in keyframe object, with iterable/iterator protocols.

   Performing that operation in the caller side is okay, since the same thing
   can be done on caller, and the operation doesn't perform any GCThing
   allocation on the target window global.
2018-02-17 17:21:13 +09:00
..
test Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles 2018-02-17 17:21:13 +09: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 1436659 - Implement pending playback rate mechanism; r=hiro 2018-02-13 15:04:18 +09:00
Animation.h Bug 1436659 - Implement pending playback rate mechanism; r=hiro 2018-02-13 15:04:18 +09:00
AnimationComparator.h Bug 1417365 - Unified build issues in dom/animation. r=baku 2017-10-26 11:55:28 +01:00
AnimationEffectReadOnly.cpp Bug 1425548 - Update references to Web Animations spec in dom/animation; r=hiro 2017-12-15 14:55:08 -06:00
AnimationEffectReadOnly.h Bug 1379564 - Use BaseTimeDuration::bool() to check the TimeDuration is not zero. r=birtles 2017-07-10 16:21:30 +09:00
AnimationEffectTiming.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEffectTiming.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEffectTimingReadOnly.cpp Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEffectTimingReadOnly.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
AnimationEventDispatcher.cpp Bug 1415780 - Let AnimationEventDispatcher observe nsRefreshDriver. r=birtles 2018-01-27 21:17:27 +09:00
AnimationEventDispatcher.h Bug 1433008 - Make AnimationEventInfo, InternalTransitionEvent and InternalAnimationEvent movable. r=masayuki 2018-01-30 09:26:48 +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 Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles 2018-02-17 17:21:13 +09:00
AnimationUtils.h Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles 2018-02-17 17:21:13 +09:00
CSSPseudoElement.cpp Bug 1413216 - Fix some missing includes in dom code. r=baku 2017-10-12 13:50:23 +01:00
CSSPseudoElement.h Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot 2017-10-26 15:08:41 -07:00
ComputedTiming.h Bug 1431295 - Drop 'undef None' macro in dom/animation/. r=boris 2018-01-18 14:12:51 +09:00
ComputedTimingFunction.cpp Bug 1248340 - Part 2: Implement Frames in ComputedTimingFunction. r=birtles 2017-02-24 16:59:02 +08:00
ComputedTimingFunction.h Bug 1425548 - Update references to Web Animations spec in dom/animation; r=hiro 2017-12-15 14:55:08 -06:00
DocumentTimeline.cpp Bug 1416966 - Perform a micro task checkpoint in DocumentTimeline::WillRefresh. r=bevis,birtles 2017-12-12 18:44:05 +09:00
DocumentTimeline.h
EffectCompositor.cpp Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn 2018-02-01 15:04:04 +11:00
EffectCompositor.h Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn 2018-02-01 15:04:04 +11:00
EffectSet.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
EffectSet.h Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn 2018-02-01 15:04:04 +11: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 1413104 - Drop telemetry probes for layer size; r=botond 2017-12-14 21:36:09 +00:00
KeyframeEffect.h Bug 1339690 - Part 3: Drop spacing mode. r=birtles,smaug 2017-06-13 15:09:19 +08:00
KeyframeEffectParams.h Bug 1431295 - Drop 'undef None' macro in dom/animation/. r=boris 2018-01-18 14:12:51 +09:00
KeyframeEffectReadOnly.cpp Bug 1414674 - Do not enter the compartment of the target window when calling KeyframeEffect and KeyframeEffectReadOnly constructor via Xray. r=bz,birtles 2018-02-17 17:21:13 +09:00
KeyframeEffectReadOnly.h Bug 1237454 - Unthrottle transform animations in visibility:hidden element periodically only if the element is scrolled out. r=birtles 2018-02-09 19:00:19 +09:00
KeyframeUtils.cpp Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro 2018-02-01 15:04:04 +11:00
KeyframeUtils.h Bug 1425548 - Update references to Web Animations spec in dom/animation; r=hiro 2017-12-15 14:55:08 -06:00
PendingAnimationTracker.cpp Bug 1403433 - Add another variant of SchedulePaint that does not call InvalidateRenderingObservers for PendingAnimationTracker. r=birtles 2017-09-29 19:42:13 +09:00
PendingAnimationTracker.h Bug 1282691 - Drop the assertion about an animation that we're making play-pending not already being pause-pending; r=boris 2017-10-13 14:37:51 +09:00
PseudoElementHashEntry.h
TimingParams.cpp Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn 2018-02-01 15:04:04 +11:00
TimingParams.h Bug 1431295 - Drop 'undef None' macro in dom/animation/. r=boris 2018-01-18 14:12:51 +09:00
moz.build Bug 1430014 - Part 5: Stop building old style system classes when MOZ_OLD_STYLE is not defined. r=xidorn 2018-02-01 15:04:04 +11:00