Bug 1332206 - Tidy up visibility tests to use single quotes and drop periods at end of test assertions; r=hiro
authorBrian Birtles <birtles@gmail.com>
Wed, 08 Feb 2017 09:25:27 +0900
changeset 341310 a873e39adee42e652f02b68330c703569b1c3ceb
parent 341309 03f791909447fc2f21eb6527b60f643f4ffad51d
child 341311 63488b90e12a0a1a314119d83eac95f2cdcc3909
push id86684
push usercbook@mozilla.com
push dateWed, 08 Feb 2017 10:31:03 +0000
treeherdermozilla-inbound@c5b88e4e70f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewershiro
bugs1332206
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1332206 - Tidy up visibility tests to use single quotes and drop periods at end of test assertions; r=hiro MozReview-Commit-ID: E5jloD49U0a
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/web-animations/animation-model/keyframe-effects/effect-value-visibility.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -203731,17 +203731,17 @@
    "10d9ee521240475a1729c2facfcea8b50342614e",
    "testharness"
   ],
   "web-animations/animation-model/keyframe-effects/effect-value-overlapping-keyframes.html": [
    "a79db70a385ad767263f285c9401b66611087e42",
    "testharness"
   ],
   "web-animations/animation-model/keyframe-effects/effect-value-visibility.html": [
-   "4f13a1b0dd656f5d51e3a5ea6795f13bdfa20905",
+   "b01c7c5145c183fdca80dec4ca1966b0f72a7003",
    "testharness"
   ],
   "web-animations/animation-model/keyframe-effects/spacing-keyframes.html": [
    "318bc877791852b0829a3e10cb19e2a20a15adab",
    "testharness"
   ],
   "web-animations/interfaces/Animatable/animate.html": [
    "d2d57b1fe0bd5b6da4c44c569ff7dcf802298919",
--- a/testing/web-platform/tests/web-animations/animation-model/keyframe-effects/effect-value-visibility.html
+++ b/testing/web-platform/tests/web-animations/animation-model/keyframe-effects/effect-value-visibility.html
@@ -13,43 +13,43 @@
 
 test(function(t) {
   var div = createDiv(t);
   var anim = div.animate({ visibility: ['hidden','visible'] },
                          { duration: 100 * MS_PER_SEC, fill: 'both' });
 
   anim.currentTime = 0;
   assert_equals(getComputedStyle(div).visibility, 'hidden',
-                'Visibility when progress = 0.');
+                'Visibility when progress = 0');
 
   anim.currentTime = 10 * MS_PER_SEC + 1;
   assert_equals(getComputedStyle(div).visibility, 'visible',
-                'Visibility when progress > 0 due to linear easing.');
+                'Visibility when progress > 0 due to linear easing');
 
   anim.finish();
   assert_equals(getComputedStyle(div).visibility, 'visible',
-                'Visibility when progress = 1.');
+                'Visibility when progress = 1');
 
-}, "Test visibility clamping behavior.");
+}, 'Visibility clamping behavior');
 
 test(function(t) {
   var div = createDiv(t);
   var anim = div.animate({ visibility: ['hidden', 'visible'] },
                          { duration: 100 * MS_PER_SEC, fill: 'both',
                            easing: 'cubic-bezier(0.25, -0.6, 0, 0.5)' });
 
   anim.currentTime = 0;
   assert_equals(getComputedStyle(div).visibility, 'hidden',
-                'Visibility when progress = 0.');
+                'Visibility when progress = 0');
 
   // Timing function is below zero. So we expected visibility is hidden.
   anim.currentTime = 10 * MS_PER_SEC + 1;
   assert_equals(getComputedStyle(div).visibility, 'hidden',
-                'Visibility when progress < 0 due to cubic-bezier easing.');
+                'Visibility when progress < 0 due to cubic-bezier easing');
 
   anim.currentTime = 60 * MS_PER_SEC;
   assert_equals(getComputedStyle(div).visibility, 'visible',
-                'Visibility when progress > 0 due to cubic-bezier easing.');
+                'Visibility when progress > 0 due to cubic-bezier easing');
 
-}, "Test visibility clamping behavior with an easing that has a negative component");
+}, 'Visibility clamping behavior with an easing that has a negative component');
 
 </script>
 </body>