gecko-dev/dom/smil
violet 57d684b5aa Bug 1413319 - Correctly check a double is within long's limit r=birtles
When close to int64_t's limit, the int64 can't be precisely converted to
double because of rounding error, rounding-up is also allowed. To ensure
a double `d` is within int64's limit, we should check
`d < std::numeric_limits<int64_t>::max()`, instead of `<=`.

Because `std::numeric_limits<int64_t>::max()` might be converted to a larger
double, when they are equal, we can't be sure if `d` is indeed within the actual
int64 limit.

Differential Revision: https://phabricator.services.mozilla.com/D23680

--HG--
extra : moz-landing-system : lando
2019-03-17 23:34:02 +00:00
..
crashtests Bug 1413319 - Correctly check a double is within long's limit r=birtles 2019-03-17 23:34:02 +00:00
test Bug 1532122 - Make word-spacing, letter-spacing, and line-height use Rust lengths. r=boris 2019-03-04 18:19:40 +00:00
SMILAnimationController.cpp Bug 1533963 - Use a single RestyleHint representation. r=heycam 2019-03-14 11:47:50 +00:00
SMILAnimationController.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILAnimationFunction.cpp Bug 1522744 - Use DebugOnly where we can and remove a couple of useless ifdef DEBUG statements around MOZ_ASSERT statements. r=birtles 2019-01-25 03:47:16 +00:00
SMILAnimationFunction.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILAttr.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILBoolType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILBoolType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCSSProperty.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILCSSProperty.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCSSValueType.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILCSSValueType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCompositor.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILCompositor.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILCompositorTable.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILEnumType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILEnumType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILFloatType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILFloatType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILInstanceTime.cpp Bug 1521575 - Move nsSMILTimeValue classes and nsSMILInstanceTime to the mozilla namespace r=birtles 2019-01-22 07:28:40 +00:00
SMILInstanceTime.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILIntegerType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILIntegerType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILInterval.cpp Bug 1522744 - Use DebugOnly where we can and remove a couple of useless ifdef DEBUG statements around MOZ_ASSERT statements. r=birtles 2019-01-25 03:47:16 +00:00
SMILInterval.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILKeySpline.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILKeySpline.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILMilestone.h Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-04 19:10:18 +00:00
SMILNullType.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
SMILNullType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILParserUtils.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILParserUtils.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILRepeatCount.cpp Bug 1521575 - Move nsSMILTimeValue classes and nsSMILInstanceTime to the mozilla namespace r=birtles 2019-01-22 07:28:40 +00:00
SMILRepeatCount.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILSetAnimationFunction.cpp Bug 1516788 - Move SMILAnimationFunctions to the mozilla namespace r=bbirtles 2018-12-31 11:54:22 +00:00
SMILSetAnimationFunction.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILStringType.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILStringType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTargetIdentifier.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeContainer.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILTimeContainer.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeValue.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILTimeValue.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeValueSpec.cpp Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00
SMILTimeValueSpec.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimeValueSpecParams.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTimedElement.cpp Bug 1413319 - Correctly check a double is within long's limit r=birtles 2019-03-17 23:34:02 +00:00
SMILTimedElement.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILType.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILTypes.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
SMILValue.cpp Bug 1521946 - Move nsSMILTypes and nsSMILValue to the mozilla namespace r=birtles 2019-01-23 13:48:08 +00:00
SMILValue.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
TimeEvent.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
TimeEvent.h Bug 1522749 - Fix SMIL include guard naming. r=birtles 2019-01-25 08:16:09 +00:00
moz.build Bug 1522650 - Rename all remaining nsSMIL classes and types as SMIL and ensure they are in the mozilla namespace. r=birtles 2019-01-25 03:24:01 +00:00