Bug 1218620 - Part 2: Skip all 'preserve-3d' tests which breaks other compositor frames. r?birtles draft
authorHiroyuki Ikezoe <hiikezoe@mozilla-japan.org>
Mon, 14 Mar 2016 13:08:11 +0900
changeset 339884 60beca7847e95842eea32188ce15483999e0ebbb
parent 339883 b4ec251abb1bafabf1194530ce5e43832eeb7487
child 516063 829010ef6df008df9b7fac7a136dde7435df74e4
push id12815
push userhiikezoe@mozilla-japan.org
push dateMon, 14 Mar 2016 04:11:12 +0000
reviewersbirtles
bugs1218620
milestone48.0a1
Bug 1218620 - Part 2: Skip all 'preserve-3d' tests which breaks other compositor frames. r?birtles MozReview-Commit-ID: 85dk5yOYizZ
dom/animation/test/chrome/test_animation_property_state.html
--- a/dom/animation/test/chrome/test_animation_property_state.html
+++ b/dom/animation/test/chrome/test_animation_property_state.html
@@ -503,16 +503,21 @@ function start() {
         assert_animation_property_state_equals(
           animation.effect.getPropertyState(),
           subtest.expected);
       }));
     }, subtest.desc);
   });
 
   gPerformanceWarningTests.forEach(function(subtest) {
+    // FIXME: Bug 1255710: 'preserve-3d' frame breaks other tests,
+    // we should skip all 'preserve-3d' tests here.
+    if (subtest.desc.includes('preserve-3d')) {
+      return;
+    }
     promise_test(function(t) {
       var div = addDiv(t, { class: 'compositable' });
       var animation = div.animate(subtest.frames, 100000);
       return animation.ready.then(t.step_func(function() {
         assert_property_state_on_compositor(
           animation.effect.getPropertyState(),
           subtest.expected);
         div.style = subtest.style;
@@ -527,16 +532,21 @@ function start() {
         assert_property_state_on_compositor(
           animation.effect.getPropertyState(),
           subtest.expected);
       }));
     }, subtest.desc);
   });
 
   gMultipleAsyncAnimationsTests.forEach(function(subtest) {
+    // FIXME: Bug 1255710: 'preserve-3d' frame breaks other tests,
+    // we should skip all 'preserve-3d' tests here.
+    if (subtest.desc.includes('preserve-3d')) {
+      return;
+    }
     promise_test(function(t) {
       var div = addDiv(t, { class: 'compositable' });
       var animations = subtest.animations.map(function(anim) {
         var animation = div.animate(anim.frames, 100000);
 
         // Bind expected values to animation object.
         animation.expected = anim.expected;
         return animation;