3 <script type=
"text/javascript" src=
"../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
8 InspectorTest
.sendCommandOrDie("Animation.enable", {});
9 InspectorTest
.sendCommandOrDie("Animation.setPlaybackRate", { playbackRate
: 0 }, 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();
37 <body onload=
"runTest()">