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