Bug 1258904 - Part 5: Remove redundant tests for animation performance warnings. r?birtles draft
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Sat, 07 May 2016 17:37:58 +0900
changeset 364662 83a84ada738a0ace4fb1bd763910a0beba531ba1
parent 364661 45a442e62c32a5e7e26f76b370e789402ba9795e
child 520350 9aa2f7c5909fff2945391cc8cdd1a1503f4a2eb7
push id17525
push userhiikezoe@mozilla-japan.org
push dateSat, 07 May 2016 10:01:04 +0000
reviewersbirtles
bugs1258904
milestone49.0a1
Bug 1258904 - Part 5: Remove redundant tests for animation performance warnings. r?birtles There were two places run gAnimationsTests in test_animation_performance_warning.html. MozReview-Commit-ID: zrD5eMiDsy
dom/animation/test/chrome/test_animation_performance_warning.html
--- a/dom/animation/test/chrome/test_animation_performance_warning.html
+++ b/dom/animation/test/chrome/test_animation_performance_warning.html
@@ -214,29 +214,16 @@ var gAnimationsTests = [
         property: 'transform',
         runningOnCompositor: false,
         warning: 'AnimationWarningTransformWithGeometricProperties'
       }
     ]
   },
 ];
 
-gAnimationsTests.forEach(function(subtest) {
-  promise_test(function(t) {
-    var animation = addDivAndAnimate(t,
-                                     { class: 'compositable' },
-                                     subtest.frames, 100 * MS_PER_SEC);
-    return animation.ready.then(function() {
-      assert_animation_property_state_equals(
-        animation.effect.getProperties(),
-        subtest.expected);
-    });
-  }, subtest.desc);
-});
-
 var gPerformanceWarningTests = [
   {
     desc: 'preserve-3d transform',
     frames: {
       transform: ['translate(0px)', 'translate(100px)']
     },
     style: 'transform-style: preserve-3d',
     expected: [