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

Side by Side Diff: LayoutTests/inspector/timeline-dfs.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 type="text/javascript"> 4 <script type="text/javascript">
5 5
6 var test = function() 6 var test = function()
7 { 7 {
8 WebInspector.showPanel("timeline"); 8 WebInspector.showPanel("timeline");
9 9
10 function dumper(record) 10 function dumper(record)
(...skipping 18 matching lines...) Expand all
29 {"name" : "bab"}, 29 {"name" : "bab"},
30 ]}, 30 ]},
31 {"name" : "bb", "children":[ 31 {"name" : "bb", "children":[
32 {"name" : "bba"}, 32 {"name" : "bba"},
33 {"name" : "bbb"}, 33 {"name" : "bbb"},
34 ]} 34 ]}
35 ]}, 35 ]},
36 ]; 36 ];
37 37
38 InspectorTest.addResult("DFS preorder:"); 38 InspectorTest.addResult("DFS preorder:");
39 WebInspector.TimelinePresentationModel.forAllRecords(records, dumper); 39 WebInspector.TimelineModel.forAllRecords(records, dumper);
40 InspectorTest.addResult(""); 40 InspectorTest.addResult("");
41 41
42 InspectorTest.addResult("DFS postorder:"); 42 InspectorTest.addResult("DFS postorder:");
43 WebInspector.TimelinePresentationModel.forAllRecords(records, null, dumper); 43 WebInspector.TimelineModel.forAllRecords(records, null, dumper);
44 InspectorTest.completeTest(); 44 InspectorTest.completeTest();
45 } 45 }
46 46
47 </script> 47 </script>
48 </head> 48 </head>
49 <body onload="runTest()"> 49 <body onload="runTest()">
50 <p>Tests TimelinePresentationModel.forAllRecords function.</p> 50 <p>Tests TimelineModel.forAllRecords function.</p>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698