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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.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-js/timeline-script-id.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html
index a2d24aa469a3ce81f5af02d9b6734328a3e0559e..4453be0a227e7e3460f08c5de6976f6cd3094334 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-script-id.html
@@ -33,7 +33,7 @@ function test()
InspectorTest.invokeAsyncWithTimeline("performActions", finish);
}
- var linkifier = new WebInspector.Linkifier();
+ var linkifier = new Components.Linkifier();
var recordTypes = new Set(["TimerInstall", "TimerRemove", "FunctionCall"]);
function formatter(event)
@@ -41,10 +41,10 @@ function test()
if (!recordTypes.has(event.name))
return;
- var detailsText = WebInspector.TimelineUIUtils.buildDetailsTextForTraceEvent(event, InspectorTest.timelineModel().targetByEvent(event));
+ var detailsText = Timeline.TimelineUIUtils.buildDetailsTextForTraceEvent(event, InspectorTest.timelineModel().targetByEvent(event));
InspectorTest.addResult("detailsTextContent for " + event.name + " event: '" + detailsText + "'");
- var details = WebInspector.TimelineUIUtils.buildDetailsNodeForTraceEvent(event, InspectorTest.timelineModel().targetByEvent(event), linkifier);
+ var details = Timeline.TimelineUIUtils.buildDetailsNodeForTraceEvent(event, InspectorTest.timelineModel().targetByEvent(event), linkifier);
if (!details)
return;
InspectorTest.addResult("details.textContent for " + event.name + " event: '" + details.textContent.replace(/VM[\d]+/, "VM") + "'");

Powered by Google App Engine
This is Rietveld 408576698