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

Unified Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-console/debugger-command-line-api.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/sources/debugger-console/debugger-command-line-api.html
diff --git a/third_party/WebKit/LayoutTests/inspector/sources/debugger-console/debugger-command-line-api.html b/third_party/WebKit/LayoutTests/inspector/sources/debugger-console/debugger-command-line-api.html
index c736202c28eb28afdf296b4dfac0dace413172d1..5de8721eb602370919b01e571ead5969c29076b8 100644
--- a/third_party/WebKit/LayoutTests/inspector/sources/debugger-console/debugger-command-line-api.html
+++ b/third_party/WebKit/LayoutTests/inspector/sources/debugger-console/debugger-command-line-api.html
@@ -12,19 +12,19 @@ function testFunction()
var test = function()
{
- InspectorTest.addSniffer(WebInspector.RuntimeModel.prototype, "_inspectRequested", inspect);
- InspectorTest.addSniffer(WebInspector.Revealer, "revealPromise", oneRevealPromise, true);
+ InspectorTest.addSniffer(SDK.RuntimeModel.prototype, "_inspectRequested", inspect);
+ InspectorTest.addSniffer(Common.Revealer, "revealPromise", oneRevealPromise, true);
function oneRevealPromise(node, revealPromise)
{
- if (!(node instanceof WebInspector.RemoteObject))
+ if (!(node instanceof SDK.RemoteObject))
return;
revealPromise.then(updateFocusedNode);
}
function updateFocusedNode()
{
- InspectorTest.addResult("Selected node id: '" + WebInspector.panels.elements.selectedDOMNode().getAttribute("id") + "'.");
+ InspectorTest.addResult("Selected node id: '" + UI.panels.elements.selectedDOMNode().getAttribute("id") + "'.");
InspectorTest.completeDebuggerTest();
}

Powered by Google App Engine
This is Rietveld 408576698