Bug 1402170 - Update test descriptions in processing-a-keyframes-argument-002.html; r=hiro
authorBrian Birtles <birtles@gmail.com>
Fri, 22 Sep 2017 16:27:27 +0900
changeset 426723 ecf5976e67acde133ea8630524a4130146fba606
parent 426722 5defc27899a9b68f033337732c1d585c5f01b009
child 426724 5a881fba2333c0050a87e425ea3e43b56ce33ab0
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewershiro
bugs1402170
milestone58.0a1
Bug 1402170 - Update test descriptions in processing-a-keyframes-argument-002.html; r=hiro MozReview-Commit-ID: 8ofSWFs5b3u
testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-002.html
--- a/testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-002.html
+++ b/testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument-002.html
@@ -16,42 +16,41 @@ test(function() {
   for (const [easing, expected] of gEasingParsingTests) {
     const effect = new KeyframeEffect(target, {
       left: ['10px', '20px'],
       easing: easing
     });
     assert_equals(effect.getKeyframes()[0].easing, expected,
                   `resulting easing for '${easing}'`);
   }
-}, 'easing values are parsed correctly when passed to the ' +
-   'KeyframeEffect constructor in a property-indexed keyframe');
+}, 'easing values are parsed correctly when set on a property-indexed'
+   + ' keyframe');
 
 test(function() {
   for (const [easing, expected] of gEasingParsingTests) {
     const effect = new KeyframeEffect(target, [
       { offset: 0, left: '10px', easing: easing },
       { offset: 1, left: '20px' }
     ]);
     assert_equals(effect.getKeyframes()[0].easing, expected,
                   `resulting easing for '${easing}'`);
   }
-}, 'easing values are parsed correctly when passed to the ' +
-   'KeyframeEffect constructor in regular keyframes');
+}, 'easing values are parsed correctly when using a keyframe sequence');
 
 test(function() {
   for (const invalidEasing of gInvalidEasings) {
     assert_throws(new TypeError, () => {
       new KeyframeEffect(target, { easing: invalidEasing });
     }, `TypeError is thrown for easing '${invalidEasing}'`);
   }
-}, 'Invalid easing values are correctly rejected when passed to the ' +
-   'KeyframeEffect constructor in regular keyframes');
+}, 'Invalid easing values are correctly rejected when set on a property-'
+   + 'indexed keyframe');
 
 test(function() {
   for (const invalidEasing of gInvalidEasings) {
     assert_throws(new TypeError, () => {
       new KeyframeEffect(target, [{ easing: invalidEasing }]);
     }, `TypeError is thrown for easing '${invalidEasing}'`);
   }
-}, 'Invalid easing values are correctly rejected when passed to the ' +
-   'KeyframeEffectReadOnly constructor in a keyframe sequence');
+}, 'Invalid easing values are correctly rejected when using a keyframe'
+   + ' sequence');
 
 </script>