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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-receive-response-event.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-receive-response-event.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-receive-response-event.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-receive-response-event.html
index 0f9f8b32ea0574e38aa6acc581bab27fb5d14f2e..c9faa63cc2391b47fe2eaa964a4fb8de30694f8d 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-receive-response-event.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-misc/timeline-receive-response-event.html
@@ -23,20 +23,20 @@ function performActions()
function test()
{
- WebInspector.viewManager.showView("timeline");
- WebInspector.panels.timeline._model._currentTarget = WebInspector.targetManager.mainTarget();
- WebInspector.panels.timeline._captureJSProfileSetting.set(false);
+ UI.viewManager.showView("timeline");
+ UI.panels.timeline._model._currentTarget = SDK.targetManager.mainTarget();
+ UI.panels.timeline._captureJSProfileSetting.set(false);
InspectorTest.invokeAsyncWithTimeline("performActions", finish);
function finish()
{
- var recordTypes = WebInspector.TimelineModel.RecordType;
+ var recordTypes = TimelineModel.TimelineModel.RecordType;
var typesToDump = new Set([recordTypes.ResourceSendRequest, recordTypes.ResourceReceiveResponse, recordTypes.ResourceReceivedData, recordTypes.ResourceFinish,
recordTypes.EventDispatch, recordTypes.FunctionCall]);
function dumpEvent(traceEvent, level)
{
// Ignore stray paint & rendering events for better stability.
- var categoryName = WebInspector.TimelineUIUtils.eventStyle(traceEvent).category.name;
+ var categoryName = Timeline.TimelineUIUtils.eventStyle(traceEvent).category.name;
if (categoryName !== "loading" && categoryName !== "scripting")
return;
// Here and below: pretend coalesced record are just not there, as coalescation is time dependent and, hence, not stable.

Powered by Google App Engine
This is Rietveld 408576698