Bug 1422248 - Use US spelling of canceling/canceled in finished.html; r?hiro draft
authorBrian Birtles <birtles@gmail.com>
Fri, 15 Dec 2017 10:32:45 -0600
changeset 712062 80e6e86ce136fcbc83926171227d200101107c25
parent 712061 ea7e9633375e0b672d921006c91b22b42805a9b9
child 712063 a61f8f41802fbe272622ec9a73d9314204452484
push id93244
push userbbirtles@mozilla.com
push dateFri, 15 Dec 2017 16:41:24 +0000
reviewershiro
bugs1422248
milestone59.0a1
Bug 1422248 - Use US spelling of canceling/canceled in finished.html; r?hiro MozReview-Commit-ID: 5S7vYc2tOWW
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/web-animations/interfaces/Animation/finished.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -575905,17 +575905,17 @@
    "bab0a2227994194c58e23edb3080d519ea453d1e",
    "testharness"
   ],
   "web-animations/interfaces/Animation/finish.html": [
    "629203bd3888631c616093315f2c3f1219486131",
    "testharness"
   ],
   "web-animations/interfaces/Animation/finished.html": [
-   "7543a989508e10c1448668795a5c2de6071838f5",
+   "21907f8b784939d8ecf0f2b555f4a8d28c92001f",
    "testharness"
   ],
   "web-animations/interfaces/Animation/id.html": [
    "2e40d20a3b221a4b99e776bdeb951c7cba173f57",
    "testharness"
   ],
   "web-animations/interfaces/Animation/idlharness.html": [
    "b369d57caf6557abee257ecbae0c7b4fd49965d7",
--- a/testing/web-platform/tests/web-animations/interfaces/Animation/finished.html
+++ b/testing/web-platform/tests/web-animations/interfaces/Animation/finished.html
@@ -158,31 +158,31 @@ promise_test(t => {
     assert_not_equals(animation.finished, previousFinishedPromise,
                       'Finished promise should change after the original is ' +
                       'rejected');
   });
 
   animation.cancel();
 
   return retPromise;
-}, 'finished promise is rejected when an animation is cancelled by calling ' +
+}, 'finished promise is rejected when an animation is canceled by calling ' +
    'cancel()');
 
 promise_test(t => {
   const div = createDiv(t);
   const animation = div.animate({}, 100 * MS_PER_SEC);
   const previousFinishedPromise = animation.finished;
   animation.finish();
   return animation.finished.then(() => {
     animation.cancel();
     assert_not_equals(animation.finished, previousFinishedPromise,
                       'A new finished promise should be created when'
-                      + ' cancelling a finished animation');
+                      + ' canceling a finished animation');
   });
-}, 'cancelling an already-finished animation replaces the finished promise');
+}, 'canceling an already-finished animation replaces the finished promise');
 
 promise_test(t => {
   const div = createDiv(t);
   const animation = div.animate({}, 100 * MS_PER_SEC);
   const HALF_DUR = 100 * MS_PER_SEC / 2;
   const QUARTER_DUR = 100 * MS_PER_SEC / 4;
   let gotNextFrame = false;
   let currentTimeBeforeShortening;