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.experimentsSettings.timelineOnTraceEvents.enableForTest(); | |
11 var timelineData = InspectorTest.timelineData(); | 10 var timelineData = InspectorTest.timelineData(); |
12 | 11 |
13 WebInspector.inspectorView.showPanel("timeline"); | 12 WebInspector.inspectorView.showPanel("timeline"); |
14 var timeline = WebInspector.panels.timeline; | 13 var timeline = WebInspector.panels.timeline; |
15 var overviewPane = timeline._overviewPane; | 14 var overviewPane = timeline._overviewPane; |
16 var model = timeline._model; | 15 var model = timeline._model; |
17 | 16 |
18 function createFileReader(file, delegate) | 17 function createFileReader(file, delegate) |
19 { | 18 { |
20 return new InspectorTest.FakeFileReader(timelineData, delegate, model.sa
veToFile.bind(model)); | 19 return new InspectorTest.FakeFileReader(timelineData, delegate, model.sa
veToFile.bind(model)); |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 | 118 |
120 <p> | 119 <p> |
121 It applies different ranges to the OverviewGrid and expects that current view re
flects the change. | 120 It applies different ranges to the OverviewGrid and expects that current view re
flects the change. |
122 </p> | 121 </p> |
123 <p> | 122 <p> |
124 Also it detects that after switching to another view it gets the proper time ran
ge. | 123 Also it detects that after switching to another view it gets the proper time ran
ge. |
125 </p> | 124 </p> |
126 | 125 |
127 </body> | 126 </body> |
128 </html> | 127 </html> |
OLD | NEW |