Skip to content

Commit e44d7c9

Browse files
committed
Update expectations
1 parent d6afe7b commit e44d7c9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/js/animation.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ suite('animation', function() {
511511
assert.equal(a.startTime, null);
512512
tick(1);
513513
a.pause();
514-
assert.equal(a.playState, 'idle');
515-
assert.equal(a.currentTime, null);
514+
assert.equal(a.playState, 'paused');
515+
assert.equal(a.currentTime, 0);
516516
assert.equal(a.startTime, null);
517517
});
518518
test('Animations ignore NaN times', function() {

test/web-platform-tests-expectations.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1429,7 +1429,7 @@ module.exports = {
14291429
'Animation with null timeline is not supported',
14301430

14311431
'Setting the start time resolves a pending pause task':
1432-
'assert_equals: Animation is in pause-pending state expected "pending" but got "idle"',
1432+
'assert_equals: Animation is in pause-pending state expected "pending" but got "paused"',
14331433

14341434
'Setting the start time updates the finished state':
14351435
'assert_equals: Seeked to finished state using the startTime expected "finished" but got "idle"',

0 commit comments

Comments
 (0)