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

Side by Side Diff: LayoutTests/inspector/tracing/timeline-flame-chart-automatically-size-window.html

Issue 1354833002: DevTools: Nuke timeline frame overview (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-records-cleared.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script src="../../http/tests/inspector/timeline-test.js"></script> 5 <script src="../../http/tests/inspector/timeline-test.js"></script>
6 <script src="resources/timeline-data.js"></script> 6 <script src="resources/timeline-data.js"></script>
7 <script> 7 <script>
8 8
9 function test() 9 function test()
10 { 10 {
11 var timelineData = InspectorTest.timelineData(); 11 var timelineData = InspectorTest.timelineData();
12 12
13 var timeline = WebInspector.panels.timeline; 13 var timeline = WebInspector.panels.timeline;
14 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Fr ames);
15 timeline._flameChartEnabledSetting.set(true); 14 timeline._flameChartEnabledSetting.set(true);
16 timeline._onModeChanged(); 15 timeline._onModeChanged();
17 timeline._currentViews[0]._automaticallySizeWindow = true; 16 timeline._currentViews[0]._automaticallySizeWindow = true;
18 17
19 function requestWindowTimesHook(startTime, endTime) 18 function requestWindowTimesHook(startTime, endTime)
20 { 19 {
21 if (startTime) 20 if (startTime)
22 InspectorTest.addResult("time delta: " + (endTime - startTime)); 21 InspectorTest.addResult("time delta: " + (endTime - startTime));
23 } 22 }
24 23
(...skipping 14 matching lines...) Expand all
39 </script> 38 </script>
40 </head> 39 </head>
41 40
42 <body onload="runTest()"> 41 <body onload="runTest()">
43 <p> 42 <p>
44 Tests the TimelineFlameChart automatically sized window. 43 Tests the TimelineFlameChart automatically sized window.
45 </p> 44 </p>
46 45
47 </body> 46 </body>
48 </html> 47 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/tracing/timeline-records-cleared.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698