Bug 1495647 - Tidy up tests in play-states.html a little; r=hiro

Differential Revision: https://phabricator.services.mozilla.com/D7573

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Brian Birtles 2018-10-03 05:46:15 +00:00
Родитель dcaec159d1
Коммит 35fc4e5630
1 изменённых файлов: 3 добавлений и 6 удалений

Просмотреть файл

@ -22,8 +22,7 @@ test(t => {
+ ' and no pending tasks')
test(t => {
const div = createDiv(t);
const animation = div.animate({}, 100 * MS_PER_SEC);
const animation = createDiv(t).animate({}, 100 * MS_PER_SEC);
animation.pause();
@ -134,8 +133,7 @@ test(t => {
+ ' current time = 0');
test(t => {
const div = createDiv(t);
const animation = div.animate({}, 0);
const animation = createDiv(t).animate({}, 0);
assert_equals(animation.startTime, null,
'Sanity check: start time should be unresolved');
@ -144,8 +142,7 @@ test(t => {
+ ' current time = target effect end and there is a pending play task');
test(t => {
const div = createDiv(t);
const animation = div.animate({}, 100 * MS_PER_SEC);
const animation = createDiv(t).animate({}, 100 * MS_PER_SEC);
assert_equals(animation.startTime, null,
'Sanity check: start time should be unresolved');