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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-aggregated-details.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-aggregated-details.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-aggregated-details.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-aggregated-details.html
index 65c5f870b00eb8f34e1803d4f7b915866f8c6935..7325bc714a94e5e3e8523ecb350486cf1b6550dc 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-aggregated-details.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-aggregated-details.html
@@ -593,18 +593,18 @@ function test()
}
];
- var timeline = WebInspector.panels.timeline;
+ var timeline = UI.panels.timeline;
InspectorTest.setTraceEvents(InspectorTest.timelineModel(), InspectorTest.tracingModel(), rawTraceEvents);
timeline.requestWindowTimes(0, Infinity);
- var groupByEnum = WebInspector.AggregatedTimelineTreeView.GroupBy;
+ var groupByEnum = Timeline.AggregatedTimelineTreeView.GroupBy;
for (var grouping in groupByEnum) {
var groupingValue = groupByEnum[grouping];
- testEventTree(WebInspector.TimelinePanel.DetailsTab.CallTree, groupingValue);
- testEventTree(WebInspector.TimelinePanel.DetailsTab.BottomUp, groupingValue);
+ testEventTree(Timeline.TimelinePanel.DetailsTab.CallTree, groupingValue);
+ testEventTree(Timeline.TimelinePanel.DetailsTab.BottomUp, groupingValue);
}
- testEventTree(WebInspector.TimelinePanel.DetailsTab.Events);
+ testEventTree(Timeline.TimelinePanel.DetailsTab.Events);
InspectorTest.completeTest();
function testEventTree(type, grouping)
@@ -630,9 +630,9 @@ function test()
if (node.isGroupNode()) {
name = treeView._displayInfoForGroupNode(node).name;
} else {
- name = node.event.name === WebInspector.TimelineModel.RecordType.JSFrame
- ? WebInspector.beautifyFunctionName(node.event.args["data"]["functionName"])
- : WebInspector.TimelineUIUtils.eventTitle(node.event);
+ name = node.event.name === TimelineModel.TimelineModel.RecordType.JSFrame
+ ? UI.beautifyFunctionName(node.event.args["data"]["functionName"])
+ : Timeline.TimelineUIUtils.eventTitle(node.event);
}
InspectorTest.addResult(" ".repeat(padding) + `${name}: ${node.selfTime.toFixed(3)} ${node.totalTime.toFixed(3)}`);
(node.children || new Map()).forEach(printEventTree.bind(null, padding + 1));

Powered by Google App Engine
This is Rietveld 408576698