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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.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/http/tests/inspector/console/console-links-on-messages-before-inspection.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html b/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html
index 98aba503786b71954ed5918fcb071a0615ba4e74..9943e2858c590edf124f3e83f4dcf8465c234c59 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html
@@ -13,11 +13,11 @@ function loadScript()
function test()
{
- var mainTarget = WebInspector.targetManager.mainTarget();
- var debuggerModel = WebInspector.DebuggerModel.fromTarget(mainTarget);
- var message = new WebInspector.ConsoleMessage(mainTarget, WebInspector.ConsoleMessage.MessageSource.JS, WebInspector.ConsoleMessage.MessageLevel.Log, "hello?", null, " http://127.0.0.1:8000/inspector/resources/source2.js");
+ var mainTarget = SDK.targetManager.mainTarget();
+ var debuggerModel = SDK.DebuggerModel.fromTarget(mainTarget);
+ var message = new SDK.ConsoleMessage(mainTarget, SDK.ConsoleMessage.MessageSource.JS, SDK.ConsoleMessage.MessageLevel.Log, "hello?", null, " http://127.0.0.1:8000/inspector/resources/source2.js");
mainTarget.consoleModel.addMessage(message);
- debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, onScriptAdded);
+ debuggerModel.addEventListener(SDK.DebuggerModel.Events.ParsedScriptSource, onScriptAdded);
InspectorTest.dumpConsoleMessages();
InspectorTest.evaluateInPage("loadScript()");
@@ -28,7 +28,7 @@ function test()
return;
InspectorTest.addResult("script was added");
- var message = WebInspector.ConsoleView.instance()._visibleViewMessages[0];
+ var message = Console.ConsoleView.instance()._visibleViewMessages[0];
var anchorElement = message.element().querySelector(".console-message-url");
anchorElement.click();
}
@@ -39,11 +39,11 @@ function test()
InspectorTest.completeTest();
};
- WebInspector.inspectorView._tabbedPane.addEventListener(WebInspector.TabbedPane.Events.TabSelected, panelChanged);
+ UI.inspectorView._tabbedPane.addEventListener(UI.TabbedPane.Events.TabSelected, panelChanged);
function panelChanged()
{
- InspectorTest.addResult("Panel " + WebInspector.inspectorView._tabbedPane._currentTab.id + " was opened");
+ InspectorTest.addResult("Panel " + UI.inspectorView._tabbedPane._currentTab.id + " was opened");
InspectorTest.completeTest();
}

Powered by Google App Engine
This is Rietveld 408576698