| 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..e043f28645fb60c8eec30c1836d453616d1a664f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-create-start.js
|
| @@ -0,0 +1,13 @@
|
| +(async function() {
|
| + let {page, session, Protocol} = await InspectorTest.startHTML(`
|
| + <div id='node' style='background-color: red; height: 100px'></div>
|
| + `, '');
|
| +
|
| + Protocol.Animation.enable();
|
| + session.evaluate(`node.animate([{ width: '100px' }, { width: '200px' }], 2000);`);
|
| + await Protocol.Animation.onceAnimationCreated();
|
| + InspectorTest.log('Animation created');
|
| + await Protocol.Animation.onceAnimationStarted();
|
| + InspectorTest.log('Animation started');
|
| + InspectorTest.completeTest();
|
| +})();
|
|
|