gecko-dev/dom/smil
Tom Ritter aa82f54ab6 Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku
There are a few different reasons why tests needed updating (not an exhaustive list):

- Tests assume that successive operations take place at different times.
- Tests assume that an operation took a minimum amount of time.
- Tests hardcodes a specific delay.

In most cases we hardcode the preference off. In some cases this is the best approach,
in others, we would like to improve. The bug for tracking those improvements is Bug 1429648

An improvement that is present in some tests is to hardcode a specific precision reduction
that is acceptable based on the confides of the test. (Obviously this needs to be a fix for
the test framework and not a requirement on the feature being tested.)

In a few places, the test itself can be fixed, for example to no longer require the end
time of an operation to be strictly greater than the start time, and allows it to be equal
to it.

MozReview-Commit-ID: J59c7xQtZZJ

--HG--
extra : rebase_source : df8a03e76eaf9cdc9524dbb3eb9035af237e534b
2018-02-12 11:39:41 -06:00
..
crashtests Bug 1411963 - Drop assertion about GetBaseValue not returning null in nsSMILCompositor::ComposeAttribute; r=dholbert 2017-10-31 16:22:04 +09:00
test Bug 1435296 Address test failures caused by bumping timer precision to 2 ms r=baku 2018-02-12 11:39:41 -06:00
SMILBoolType.cpp
SMILBoolType.h
SMILEnumType.cpp
SMILEnumType.h
SMILIntegerType.cpp
SMILIntegerType.h
SMILStringType.cpp
SMILStringType.h
TimeEvent.cpp Bug 1435666 - Part 2: Remove nsIDOMTimeEvent. r=bz 2018-02-05 10:31:43 +08:00
TimeEvent.h Bug 1435666 - Part 2: Remove nsIDOMTimeEvent. r=bz 2018-02-05 10:31:43 +08:00
moz.build
nsISMILAttr.h Bug 1391803 - Use nsStringFwd.h for forward declaring string classes. r=froydnj 2017-08-16 16:48:52 -07:00
nsISMILType.h
nsSMILAnimationController.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILAnimationController.h
nsSMILAnimationFunction.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILAnimationFunction.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILCSSProperty.cpp Bug 1430014 - Part 4: #ifdef out unnecessary code when the old style system is not built. r=xidorn 2018-02-01 15:04:04 +11:00
nsSMILCSSProperty.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILCSSValueType.cpp Bug 1430014 - Part 6: #ifdef out a bit more animation-related code. r=hiro 2018-02-01 15:04:04 +11:00
nsSMILCSSValueType.h Bug 1404803 - Convert empty values to suitable zero values even when using discrete interpolation; r=hiro 2017-10-04 15:04:23 +09:00
nsSMILCompositor.cpp Bug 1411963 - Drop assertion about GetBaseValue not returning null in nsSMILCompositor::ComposeAttribute; r=dholbert 2017-10-31 16:22:04 +09:00
nsSMILCompositor.h Bug 1406441 - provide nsSMILCompositor with a move constructor, rather than a copy constructor; r=dholbert 2017-10-09 10:39:38 -04:00
nsSMILCompositorTable.h
nsSMILFloatType.cpp
nsSMILFloatType.h
nsSMILInstanceTime.cpp
nsSMILInstanceTime.h
nsSMILInterval.cpp
nsSMILInterval.h
nsSMILKeySpline.cpp
nsSMILKeySpline.h
nsSMILMilestone.h
nsSMILNullType.cpp Bug 1406440 - don't inline nsSMILNullType::Singleton(); r=dholbert 2017-10-09 10:39:38 -04:00
nsSMILNullType.h Bug 1406440 - don't inline nsSMILNullType::Singleton(); r=dholbert 2017-10-09 10:39:38 -04:00
nsSMILParserUtils.cpp Bug 1423098 - Drop support for SMIL accessKey; r=dholbert 2017-12-14 09:58:32 -06:00
nsSMILParserUtils.h
nsSMILRepeatCount.cpp
nsSMILRepeatCount.h
nsSMILSetAnimationFunction.cpp Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILSetAnimationFunction.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILTargetIdentifier.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILTimeContainer.cpp
nsSMILTimeContainer.h Bug 1435372 - pass nsSMILMilestone into the constructor of MilestoneEntry by const reference to avoid an unnecessary object copy r=birtles 2018-02-03 10:15:20 +00:00
nsSMILTimeValue.cpp Bug 1322849 - Add a range check when the duration is multiplied by the repeat count. r=birtles 2017-10-17 22:19:54 +01:00
nsSMILTimeValue.h Bug 1374861 - add const keyword where appropriate. r=birtles 2017-07-01 10:55:27 +01:00
nsSMILTimeValueSpec.cpp Bug 1436508 part 12. Remove nsIDOMKeyEvent. r=masayuki 2018-02-09 11:17:10 -05:00
nsSMILTimeValueSpec.h Bug 1423098 - Drop support for SMIL accessKey; r=dholbert 2017-12-14 09:58:32 -06:00
nsSMILTimeValueSpecParams.h Bug 1423098 - Drop support for SMIL accessKey; r=dholbert 2017-12-14 09:58:32 -06:00
nsSMILTimedElement.cpp Bug 1423098 - Ignore invalid time value specifications rather than failing; r=dholbert 2017-12-14 09:58:24 -06:00
nsSMILTimedElement.h Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro. 2017-10-03 09:05:19 +11:00
nsSMILTypes.h
nsSMILValue.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
nsSMILValue.h