Bug 1402170 - Use template strings in processing-a-keyframes-argument.html; r?hiro draft
authorBrian Birtles <birtles@gmail.com>
Fri, 22 Sep 2017 11:38:58 +0900
changeset 668835 76bb5631daf83cf35b2ae4805f5244347a5081e8
parent 668834 0efdf2f6dbf8faf7265b63b68b0c2abdbe99dd1d
child 668836 eb1cf9372933e77ed5050a5faab52d7ec37bccb5
push id81132
push userbbirtles@mozilla.com
push dateFri, 22 Sep 2017 02:57:12 +0000
reviewershiro
bugs1402170
milestone58.0a1
Bug 1402170 - Use template strings in processing-a-keyframes-argument.html; r?hiro But only in a couple of places where it makes the test more readable. MozReview-Commit-ID: 6zVJ6h7Zb3k
testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument.html
--- a/testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument.html
+++ b/testing/web-platform/tests/web-animations/interfaces/KeyframeEffect/processing-a-keyframes-argument.html
@@ -59,28 +59,28 @@ function GetTestKeyframeSequence(testPro
 
 for (const prop of gNonAnimatableProps) {
   test(function(t) {
     const testKeyframe = new TestKeyframe(prop);
 
     new KeyframeEffect(null, testKeyframe);
 
     assert_equals(testKeyframe.propAccessCount, 0, 'Accessor not called');
-  }, 'non-animatable property \'' + prop + '\' is not accessed when using'
+  }, `non-animatable property '${prop}' is not accessed when using`
      + ' a property-indexed keyframe object');
 }
 
 for (const prop of gNonAnimatableProps) {
   test(function(t) {
     const testKeyframes = GetTestKeyframeSequence(prop);
 
     new KeyframeEffect(null, testKeyframes);
 
     assert_equals(testKeyframes[0].propAccessCount, 0, 'Accessor not called');
-  }, 'non-animatable property \'' + prop + '\' is not accessed when using'
+  }, `non-animatable property '${prop}' is not accessed when using`
      + ' a keyframe sequence');
 }
 
 // Test equivalent forms of property indexed and sequenced keyframe syntax
 
 function assertEquivalentKeyframeSyntax(keyframesA, keyframesB) {
   const processedKeyframesA =
     new KeyframeEffect(null, keyframesA).getKeyframes();