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

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

Issue 722713002: DevTools: get rid of getters and setters in StatusBarButton. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 WebInspector.TempFile = InspectorTest.TempFileMock; 4 WebInspector.TempFile = InspectorTest.TempFileMock;
5 5
6 // Scrub values when printing out these properties in the record or data field. 6 // Scrub values when printing out these properties in the record or data field.
7 InspectorTest.timelinePropertyFormatters = { 7 InspectorTest.timelinePropertyFormatters = {
8 children: "formatAsTypeName", 8 children: "formatAsTypeName",
9 endTime: "formatAsTypeName", 9 endTime: "formatAsTypeName",
10 requestId: "formatAsTypeName", 10 requestId: "formatAsTypeName",
(...skipping 18 matching lines...) Expand all
29 root: "formatAsTypeName", 29 root: "formatAsTypeName",
30 backendNodeId: "formatAsTypeName", 30 backendNodeId: "formatAsTypeName",
31 nodeId: "formatAsTypeName", 31 nodeId: "formatAsTypeName",
32 rootNode: "formatAsTypeName", 32 rootNode: "formatAsTypeName",
33 networkTime: "formatAsTypeName", 33 networkTime: "formatAsTypeName",
34 thread: "formatAsTypeName" 34 thread: "formatAsTypeName"
35 }; 35 };
36 36
37 InspectorTest.switchTimelineToWaterfallMode = function() 37 InspectorTest.switchTimelineToWaterfallMode = function()
38 { 38 {
39 if (WebInspector.panels.timeline._flameChartToggleButton.toggled) 39 if (WebInspector.panels.timeline._flameChartToggleButton.toggled())
40 WebInspector.panels.timeline._flameChartToggleButton.element.click(); 40 WebInspector.panels.timeline._flameChartToggleButton.element.click();
41 } 41 }
42 42
43 InspectorTest.timelinePresentationModel = function() 43 InspectorTest.timelinePresentationModel = function()
44 { 44 {
45 InspectorTest.switchTimelineToWaterfallMode(); 45 InspectorTest.switchTimelineToWaterfallMode();
46 return WebInspector.panels.timeline._currentViews[0]._presentationModel; 46 return WebInspector.panels.timeline._currentViews[0]._presentationModel;
47 } 47 }
48 48
49 InspectorTest.timelineModel = function() 49 InspectorTest.timelineModel = function()
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 return this._fileSize; 362 return this._fileSize;
363 }, 363 },
364 364
365 fileName: function() 365 fileName: function()
366 { 366 {
367 return "fakeFile"; 367 return "fakeFile";
368 } 368 }
369 }; 369 };
370 370
371 }; 371 };
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/inspector/search/source-frame-search.html ('k') | Source/devtools/front_end/components/Drawer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698