Bug 1255710 - Part 2: Enable tests for 'transform-style: preserve-3d'. r?birtles
MozReview-Commit-ID: HzmFJErruwp
--- a/dom/animation/test/chrome/test_animation_performance_warning.html
+++ b/dom/animation/test/chrome/test_animation_performance_warning.html
@@ -507,21 +507,16 @@ function start() {
assert_animation_property_state_equals(
animation.effect.getProperties(),
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(function() {
assert_property_state_on_compositor(
animation.effect.getProperties(),
subtest.expected);
div.style = subtest.style;
@@ -536,21 +531,16 @@ function start() {
assert_property_state_on_compositor(
animation.effect.getProperties(),
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;