| OLD | NEW |
| 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 src="resources/timeline-data.js"></script> | 5 <script src="resources/timeline-data.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function test() | 8 function test() |
| 9 { | 9 { |
| 10 WebInspector.inspectorView.showPanel("network"); | 10 WebInspector.inspectorView.showPanel("network"); |
| 11 WebInspector.experimentsSettings.timelineFlameChart.enableForTest(); | 11 WebInspector.experimentsSettings.timelineOnTraceEvents.enableForTest(); |
| 12 var timelineData = InspectorTest.timelineData(); | 12 var timelineData = InspectorTest.timelineData(); |
| 13 | 13 |
| 14 var timeline = WebInspector.inspectorView.showPanel("timeline"); | 14 var timeline = WebInspector.inspectorView.showPanel("timeline"); |
| 15 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Fr
ames); | 15 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Fr
ames); |
| 16 timeline._flameChartEnabledSetting.set(true); | 16 timeline._flameChartEnabledSetting.set(true); |
| 17 timeline._onModeChanged(); | 17 timeline._onModeChanged(); |
| 18 timeline._currentViews[0]._automaticallySizeWindow = true; | 18 timeline._currentViews[0]._automaticallySizeWindow = true; |
| 19 | 19 |
| 20 function requestWindowTimesHook(startTime, endTime) | 20 function requestWindowTimesHook(startTime, endTime) |
| 21 { | 21 { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 40 </script> | 40 </script> |
| 41 </head> | 41 </head> |
| 42 | 42 |
| 43 <body onload="runTest()"> | 43 <body onload="runTest()"> |
| 44 <p> | 44 <p> |
| 45 Tests the TimelineFlameChart automatically sized window. | 45 Tests the TimelineFlameChart automatically sized window. |
| 46 </p> | 46 </p> |
| 47 | 47 |
| 48 </body> | 48 </body> |
| 49 </html> | 49 </html> |
| OLD | NEW |