OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> | 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> |
4 <script> | 4 <script> |
5 | 5 |
6 function test() | 6 function test() |
7 { | 7 { |
8 InspectorTest.sendCommandOrDie("Animation.enable", {}); | 8 InspectorTest.sendCommandOrDie("Animation.enable", {}); |
9 InspectorTest.sendCommandOrDie("Animation.setPlaybackRate", { playbackRate:
0 }, pagePaused); | 9 InspectorTest.sendCommandOrDie("Animation.setPlaybackRate", { playbackRate:
0 }, pagePaused); |
10 | 10 |
11 function pagePaused() | 11 function pagePaused() |
12 { | 12 { |
13 InspectorTest.sendCommandOrDie("Animation.getPlaybackRate", {}, logPlayb
ackRate); | 13 InspectorTest.sendCommandOrDie("Animation.getPlaybackRate", {}, logPlayb
ackRate); |
(...skipping 16 matching lines...) Expand all Loading... |
30 InspectorTest.log(result.playbackRate); | 30 InspectorTest.log(result.playbackRate); |
31 InspectorTest.completeTest(); | 31 InspectorTest.completeTest(); |
32 } | 32 } |
33 } | 33 } |
34 | 34 |
35 </script> | 35 </script> |
36 </head> | 36 </head> |
37 <body onload="runTest()"> | 37 <body onload="runTest()"> |
38 </body> | 38 </body> |
39 </html> | 39 </html> |
OLD | NEW |