OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | |
4 <script src="../../http/tests/inspector/timeline-test.js"></script> | |
5 <script> | |
6 | |
7 function test() | |
8 { | |
9 var records = [ | |
10 {"startTime": 1000.000,"data":{ "x": 100, "y": 200, "width": 300, "heigh
t": 400 },"endTime":1099.999,"type":"Paint","children":[]}, | |
11 {"startTime": 2000.000,"data":{ "x": 100, "y": 200, "width": 300, "heigh
t": 400 },"endTime":2099.999,"type":"Layout","children":[]} | |
12 ]; | |
13 | |
14 InspectorTest.loadTimelineRecords(records); | |
15 | |
16 var rootRecord = InspectorTest.timelinePresentationModel().rootRecord(); | |
17 InspectorTest.dumpPresentationRecord(rootRecord); | |
18 InspectorTest.completeTest(); | |
19 } | |
20 | |
21 </script> | |
22 </head> | |
23 | |
24 <body onload="runTest()"> | |
25 <p> | |
26 Test timeline compatibility with logs recorded by newer and older verions of tim
eline</a> | |
27 </p> | |
28 | |
29 </body> | |
30 </html> | |
OLD | NEW |