Bug 1571567 - Fix no-fallthrough errors in /layout. r=dholbert
authorJared Wein <jwein@mozilla.com>
Thu, 08 Aug 2019 15:18:39 +0000
changeset 487005 9e23c2da81e3027bb4fea4a25fe68be230743227
parent 487004 cade7a6a7948ce63f089fedbb696132fcc7a148e
child 487006 2db0ad03c4afdf47b1360cab52351021e56a3e52
push id36411
push userrmaries@mozilla.com
push dateFri, 09 Aug 2019 03:49:20 +0000
treeherdermozilla-central@047e16b38566 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs1571567
milestone70.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1571567 - Fix no-fallthrough errors in /layout. r=dholbert Differential Revision: https://phabricator.services.mozilla.com/D40876
layout/style/test/animation_utils.js
--- a/layout/style/test/animation_utils.js
+++ b/layout/style/test/animation_utils.js
@@ -511,16 +511,17 @@ const ExpectComparisonTo = {
       case "scale":
         if (runningOn == RunningOn.MainThread) {
           normalize = value => value;
           compare = function(a, b, error) {
             return a == b;
           };
           break;
         }
+      // fall through
       case "transform":
         normalize = convertTo3dMatrix;
         compare = matricesRoughlyEqual;
         normalizedToString = convert3dMatrixToString;
         break;
       case "opacity":
         normalize = parseFloat;
         compare = function(a, b, error) {