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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/inspector/command-line-api-inspect.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/command-line-api-inspect.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/command-line-api-inspect.html b/third_party/WebKit/LayoutTests/http/tests/inspector/command-line-api-inspect.html
index 8ee9b7d46ce632be22b621c8e8f1f6adc4e384c1..14b99314ed73647a17204f13f6feafeeae33348f 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/command-line-api-inspect.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/command-line-api-inspect.html
@@ -11,7 +11,7 @@ function onload()
function test()
{
- InspectorTest.addSniffer(WebInspector.RuntimeModel.prototype, "_inspectRequested", sniffInspect, true);
+ InspectorTest.addSniffer(SDK.RuntimeModel.prototype, "_inspectRequested", sniffInspect, true);
function sniffInspect(objectId, hints)
{
@@ -34,19 +34,19 @@ function test()
InspectorTest.runTestSuite([
function testRevealElement(next)
{
- InspectorTest.addSniffer(WebInspector.Revealer, "revealPromise", step2, true);
+ InspectorTest.addSniffer(Common.Revealer, "revealPromise", step2, true);
evalAndDump("inspect($('#p1'))");
function step2(node, revealPromise)
{
- if (!(node instanceof WebInspector.RemoteObject))
+ if (!(node instanceof SDK.RemoteObject))
return;
revealPromise.then(step3);
}
function step3()
{
- InspectorTest.addResult("Selected node id: '" + WebInspector.panels.elements.selectedDOMNode().getAttribute("id") + "'.");
+ InspectorTest.addResult("Selected node id: '" + UI.panels.elements.selectedDOMNode().getAttribute("id") + "'.");
next();
}
}

Powered by Google App Engine
This is Rietveld 408576698