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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-network/timeline-network-resource.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-network/timeline-network-resource.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network/timeline-network-resource.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network/timeline-network-resource.html
index 545d0d4da866e267cbfbb5c8ada38f8862210292..db76d7132323c38d07dd5fb460a214991c62b010 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network/timeline-network-resource.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network/timeline-network-resource.html
@@ -20,7 +20,7 @@ function test()
var requestId;
var scriptUrl = "timeline-network-resource.js";
- var model = WebInspector.panels.timeline._model;
+ var model = UI.panels.timeline._model;
InspectorTest.invokeAsyncWithTimeline("performActions", finish);
@@ -29,11 +29,11 @@ function test()
var lastRecordStartTime;
function format(record)
{
- if (record.type() === WebInspector.TimelineModel.RecordType.ResourceSendRequest)
+ if (record.type() === TimelineModel.TimelineModel.RecordType.ResourceSendRequest)
printSend(record);
- else if (record.type() === WebInspector.TimelineModel.RecordType.ResourceReceiveResponse)
+ else if (record.type() === TimelineModel.TimelineModel.RecordType.ResourceReceiveResponse)
printReceive(record);
- else if (record.type() === WebInspector.TimelineModel.RecordType.ResourceFinish)
+ else if (record.type() === TimelineModel.TimelineModel.RecordType.ResourceFinish)
printFinish(record);
}
model.forAllRecords(format);
@@ -44,7 +44,7 @@ function test()
{
InspectorTest.addResult("");
InspectorTest.printTimelineRecordProperties(record);
- InspectorTest.addResult("Text details for " + record.type() + ": " + WebInspector.TimelineUIUtils.buildDetailsTextForTraceEvent(record.traceEvent()));
+ InspectorTest.addResult("Text details for " + record.type() + ": " + Timeline.TimelineUIUtils.buildDetailsTextForTraceEvent(record.traceEvent()));
}
function printSend(record)

Powered by Google App Engine
This is Rietveld 408576698