Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Side by Side Diff: LayoutTests/inspector/timeline/timeline-compatibility.html

Issue 183893010: DevTools: extract TimelineModel.Record from TimelinePresentationModel.Record. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: For landing Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/timeline-test.js"></script> 4 <script src="../../http/tests/inspector/timeline-test.js"></script>
5 <script> 5 <script>
6 6
7 function test() 7 function test()
8 { 8 {
9 var records = [ 9 var records = [
10 {"startTime": 1000.000,"data":{ "x": 100, "y": 200, "width": 300, "heigh t": 400 },"endTime":1099.999,"type":"Paint","children":[]}, 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":[]} 11 {"startTime": 2000.000,"data":{ "x": 100, "y": 200, "width": 300, "heigh t": 400 },"endTime":2099.999,"type":"Layout","children":[]}
12 ]; 12 ];
13 13
14 InspectorTest.loadTimelineRecords(records); 14 InspectorTest.loadTimelineRecords(records);
15 15
16 var rootRecord = InspectorTest.timelinePresentationModel().rootRecord(); 16 var rootRecord = InspectorTest.timelinePresentationModel().rootRecord();
17 InspectorTest.dumpTimelineRecord(rootRecord); 17 InspectorTest.dumpPresentationRecord(rootRecord);
18 InspectorTest.completeTest(); 18 InspectorTest.completeTest();
19 } 19 }
20 20
21 </script> 21 </script>
22 </head> 22 </head>
23 23
24 <body onload="runTest()"> 24 <body onload="runTest()">
25 <p> 25 <p>
26 Test timeline compatibility with logs recorded by newer and older verions of tim eline</a> 26 Test timeline compatibility with logs recorded by newer and older verions of tim eline</a>
27 </p> 27 </p>
28 28
29 </body> 29 </body>
30 </html> 30 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698