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

Unified Diff: third_party/WebKit/LayoutTests/inspector/tracing/highlight-in-source.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/highlight-in-source.html
diff --git a/third_party/WebKit/LayoutTests/inspector/tracing/highlight-in-source.html b/third_party/WebKit/LayoutTests/inspector/tracing/highlight-in-source.html
index 57170bcbfb47c94d263a4a0aef2d5ea4d5ed4d20..aa35b46137d3f24922522022542332831b05aec3 100644
--- a/third_party/WebKit/LayoutTests/inspector/tracing/highlight-in-source.html
+++ b/third_party/WebKit/LayoutTests/inspector/tracing/highlight-in-source.html
@@ -12,7 +12,7 @@ function test()
{
Runtime.experiments.enableForTest("timelineRuleUsageRecording");
- var panel = WebInspector.panels.timeline;
+ var panel = UI.panels.timeline;
panel._markUnusedCSS.set(true);
InspectorTest.runTestSuite([
@@ -27,7 +27,7 @@ function test()
function printResults()
{
- WebInspector.inspectorView.showPanel("sources").then(showSource);
+ UI.inspectorView.showPanel("sources").then(showSource);
}
function showSource()
@@ -37,7 +37,7 @@ function test()
function waitForDecorations()
{
- InspectorTest.addSniffer(WebInspector.CoverageProfile.LineDecorator.prototype, "decorate", didShowDecorations);
+ InspectorTest.addSniffer(Components.CoverageProfile.LineDecorator.prototype, "decorate", didShowDecorations);
}
function didShowDecorations(sourceFrame)

Powered by Google App Engine
This is Rietveld 408576698