Bug 1571567 - Fix no-fallthrough errors in /layout. r=dholbert
authorJared Wein <jwein@mozilla.com>
Thu, 08 Aug 2019 15:18:39 +0000
changeset 486950 9e23c2da81e3027bb4fea4a25fe68be230743227
parent 486949 cade7a6a7948ce63f089fedbb696132fcc7a148e
child 486951 2db0ad03c4afdf47b1360cab52351021e56a3e52
push id92059
push usermbanner@mozilla.com
push dateThu, 08 Aug 2019 16:29:33 +0000
treeherderautoland@381a12355930 [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) {