blob: 80ecedd54b11ca075b3ec1fea5fa12743d534d39 [file] [log] [blame]
(async function(testRunner) {
var {page, session, dp} = await testRunner.startBlank('Tests that the playback rate is reset on disabling.');
dp.Animation.enable();
await dp.Animation.setPlaybackRate({ playbackRate: 0 });
testRunner.log((await dp.Animation.getPlaybackRate()).result.playbackRate);
await dp.Animation.disable();
await dp.Animation.enable();
testRunner.log((await dp.Animation.getPlaybackRate()).result.playbackRate);
testRunner.completeTest();
})