| Index: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-start.js
|
| diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-start.js b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-start.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b9beac3f9ebf0929200243925e32e787446bf6f7
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-start.js
|
| @@ -0,0 +1,13 @@
|
| +(async function(testRunner) {
|
| + let {page, session, dp} = await testRunner.startHTML(`
|
| + <div id='node' style='background-color: red; height: 100px'></div>
|
| + `, '');
|
| +
|
| + dp.Animation.enable();
|
| + session.evaluate(`node.animate([{ width: '100px' }, { width: '200px' }], 2000);`);
|
| + await dp.Animation.onceAnimationCreated();
|
| + testRunner.log('Animation created');
|
| + await dp.Animation.onceAnimationStarted();
|
| + testRunner.log('Animation started');
|
| + testRunner.completeTest();
|
| +})
|
|
|