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

Side by Side Diff: LayoutTests/inspector/timeline/timeline-window-filter.html

Issue 402653002: Delete TimelineTracingView (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated TestExpectations to include virtual/ Created 6 years, 5 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 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(); 10 WebInspector.experimentsSettings.timelineOnTraceEvents.enableForTest();
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Fr ames); 72 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Fr ames);
73 timeline._onModeChanged(); 73 timeline._onModeChanged();
74 dumpRecordsCountForRange(0, 1); 74 dumpRecordsCountForRange(0, 1);
75 dumpRecordsCountForRange(0.25, 0.75); 75 dumpRecordsCountForRange(0.25, 0.75);
76 dumpRecordsCountForRange(0.33, 0.66); 76 dumpRecordsCountForRange(0.33, 0.66);
77 77
78 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Fr ames); 78 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Fr ames);
79 timeline._flameChartEnabledSetting.set(true); 79 timeline._flameChartEnabledSetting.set(true);
80 timeline._onModeChanged(); 80 timeline._onModeChanged();
81 dumpFlameChartRecordsCountForRange(0, 1); 81 // FIXME(394762): uncomment once we support loading tracing events.
82 dumpFlameChartRecordsCountForRange(0.25, 0.5); 82 // dumpFlameChartRecordsCountForRange(0, 1);
83 dumpFlameChartRecordsCountForRange(0.33, 0.4); 83 // dumpFlameChartRecordsCountForRange(0.25, 0.5);
84 // dumpFlameChartRecordsCountForRange(0.33, 0.4);
84 85
85 overviewPane._overviewGrid.setWindow(0.1, 0.9); 86 overviewPane._overviewGrid.setWindow(0.1, 0.9);
86 87
87 InspectorTest.addResult("--------------------------------------------------- -----"); 88 InspectorTest.addResult("--------------------------------------------------- -----");
88 InspectorTest.addResult("mode = " + timeline._overviewModeSetting.get()); 89 InspectorTest.addResult("mode = " + timeline._overviewModeSetting.get());
89 InspectorTest.addResult("time range = " + timeline._windowStartTime + " - " + timeline._windowEndTime); 90 InspectorTest.addResult("time range = " + timeline._windowStartTime + " - " + timeline._windowEndTime);
90 91
91 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Ev ents); 92 timeline._overviewModeSetting.set(WebInspector.TimelinePanel.OverviewMode.Ev ents);
92 timeline._flameChartEnabledSetting.set(false); 93 timeline._flameChartEnabledSetting.set(false);
93 timeline._onModeChanged(); 94 timeline._onModeChanged();
(...skipping 24 matching lines...) Expand all
118 119
119 <p> 120 <p>
120 It applies different ranges to the OverviewGrid and expects that current view re flects the change. 121 It applies different ranges to the OverviewGrid and expects that current view re flects the change.
121 </p> 122 </p>
122 <p> 123 <p>
123 Also it detects that after switching to another view it gets the proper time ran ge. 124 Also it detects that after switching to another view it gets the proper time ran ge.
124 </p> 125 </p>
125 126
126 </body> 127 </body>
127 </html> 128 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/inspector/timeline/timeline-window-filter-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698