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
--- 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: [