Bug 1422248 - Use US spelling of canceling/canceled in finished.html; r?hiro
MozReview-Commit-ID: 5S7vYc2tOWW
--- 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;