s expected
  return animation.ready.then(() => {
    assert_false(animation.pending, 'no longer pending');
    assert_equals(animation.currentTime, 0,
                  'keeps the initially set currentTime');
  });
}, 'pause() from idle');

promise_test(t => {
  const div = createDiv(t);
  const animation = div.animate({}, 1000 * MS_PER_SEC);
  animation.cancel();
  animation.playbackRate = -1;
  animation.pause();

  assert_equals(animation.currentTime, 1000 * MS_PER_SEC,
                'currentTime is se