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 startAnimation() | 6 function startAnimation() |
7 { | 7 { |
8 node.animate([{ width: "100px" }, { width: "200px" }], 2000); | 8 node.animate([{ width: "100px" }, { width: "200px" }], 2000); |
9 } | 9 } |
10 | 10 |
11 function test() | 11 function test() |
12 { | 12 { |
13 InspectorTest.eventHandler["Animation.animationCreated"] = onCreated; | 13 InspectorTest.eventHandler["Animation.animationCreated"] = onCreated; |
(...skipping 12 matching lines...) Expand all Loading... |
26 InspectorTest.completeTest(); | 26 InspectorTest.completeTest(); |
27 } | 27 } |
28 } | 28 } |
29 | 29 |
30 </script> | 30 </script> |
31 </head> | 31 </head> |
32 <body onload="runTest()"> | 32 <body onload="runTest()"> |
33 <div id="node" style="background-color: red; height: 100px"></div> | 33 <div id="node" style="background-color: red; height: 100px"></div> |
34 </body> | 34 </body> |
35 </html> | 35 </html> |
OLD | NEW |