Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / animation / animation-pause-close.html
blob4195ec9f5d255355a27eb5365642c730c87f33de
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
4 <script>
6 function test()
8 InspectorTest.sendCommandOrDie("Animation.enable", {});
9 InspectorTest.sendCommandOrDie("Animation.setPlaybackRate", { playbackRate: 0 }, pagePaused);
11 function pagePaused()
13 InspectorTest.sendCommandOrDie("Animation.getPlaybackRate", {}, logPlaybackRate);
16 function logPlaybackRate(result)
18 InspectorTest.log(result.playbackRate);
19 InspectorTest.sendCommandOrDie("Animation.disable", {}, pageDisabled);
22 function pageDisabled(message)
24 InspectorTest.sendCommandOrDie("Animation.enable", {});
25 InspectorTest.sendCommandOrDie("Animation.getPlaybackRate", {}, animationsDisabled);
28 function animationsDisabled(result)
30 InspectorTest.log(result.playbackRate);
31 InspectorTest.completeTest();
35 </script>
36 </head>
37 <body onload="runTest()">
38 </body>
39 </html>