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

Side by Side Diff: LayoutTests/http/tests/inspector/timeline-test.js

Issue 709423002: DevTools: remove old Timeline front-end implementation (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated LayoutTests/inspector/layers/layer-canvas-log.html Created 6 years, 1 month 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 var initialize_Timeline = function() { 1 var initialize_Timeline = function() {
2 2
3 InspectorTest.preloadPanel("timeline"); 3 InspectorTest.preloadPanel("timeline");
4 4
5 // Scrub values when printing out these properties in the record or data field. 5 // Scrub values when printing out these properties in the record or data field.
6 InspectorTest.timelinePropertyFormatters = { 6 InspectorTest.timelinePropertyFormatters = {
7 children: "formatAsTypeName", 7 children: "formatAsTypeName",
8 endTime: "formatAsTypeName", 8 endTime: "formatAsTypeName",
9 requestId: "formatAsTypeName", 9 requestId: "formatAsTypeName",
10 startTime: "formatAsTypeName", 10 startTime: "formatAsTypeName",
(...skipping 17 matching lines...) Expand all
28 root: "formatAsTypeName", 28 root: "formatAsTypeName",
29 backendNodeId: "formatAsTypeName", 29 backendNodeId: "formatAsTypeName",
30 nodeId: "formatAsTypeName", 30 nodeId: "formatAsTypeName",
31 rootNode: "formatAsTypeName", 31 rootNode: "formatAsTypeName",
32 networkTime: "formatAsTypeName", 32 networkTime: "formatAsTypeName",
33 thread: "formatAsTypeName" 33 thread: "formatAsTypeName"
34 }; 34 };
35 35
36 InspectorTest.switchTimelineToWaterfallMode = function() 36 InspectorTest.switchTimelineToWaterfallMode = function()
37 { 37 {
38 if (!Runtime.experiments.isEnabled("timelineOnTraceEvents"))
39 return;
40 if (WebInspector.panels.timeline._flameChartToggleButton.toggled) 38 if (WebInspector.panels.timeline._flameChartToggleButton.toggled)
41 WebInspector.panels.timeline._flameChartToggleButton.element.click(); 39 WebInspector.panels.timeline._flameChartToggleButton.element.click();
42 } 40 }
43 41
44 InspectorTest.timelinePresentationModel = function() 42 InspectorTest.timelinePresentationModel = function()
45 { 43 {
46 InspectorTest.switchTimelineToWaterfallMode(); 44 InspectorTest.switchTimelineToWaterfallMode();
47 return WebInspector.panels.timeline._currentViews[0]._presentationModel; 45 return WebInspector.panels.timeline._currentViews[0]._presentationModel;
48 } 46 }
49 47
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 return this._fileSize; 366 return this._fileSize;
369 }, 367 },
370 368
371 fileName: function() 369 fileName: function()
372 { 370 {
373 return "fakeFile"; 371 return "fakeFile";
374 } 372 }
375 }; 373 };
376 374
377 }; 375 };
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/inspector-test.js ('k') | LayoutTests/http/tests/inspector/timeline-xhr-event.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698