Bug 1218620 - Part 2: Skip all 'preserve-3d' tests which breaks other compositor frames. r?birtles
MozReview-Commit-ID: 85dk5yOYizZ
--- 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;