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

Unified Diff: third_party/WebKit/LayoutTests/inspector/reveal-objects.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/reveal-objects.html
diff --git a/third_party/WebKit/LayoutTests/inspector/reveal-objects.html b/third_party/WebKit/LayoutTests/inspector/reveal-objects.html
index f8e4c9828b12ad3b122c0ce456377134ff602c45..02ddde285df60a9abfce25fb1b1471ebc25beb6c 100644
--- a/third_party/WebKit/LayoutTests/inspector/reveal-objects.html
+++ b/third_party/WebKit/LayoutTests/inspector/reveal-objects.html
@@ -39,7 +39,7 @@ function test() {
return true;
}
});
- uiLocation = WebInspector.workspace.uiSourceCodeForURL(resource.url).uiLocation(2, 1);
+ uiLocation = Workspace.workspace.uiSourceCodeForURL(resource.url).uiLocation(2, 1);
InspectorTest.nodeWithId("div", nodeCallback);
@@ -71,36 +71,36 @@ function test() {
function revealNode(next)
{
- WebInspector.Revealer.revealPromise(node).then(next);
+ Common.Revealer.revealPromise(node).then(next);
},
function revealUILocation(next)
{
- WebInspector.Revealer.revealPromise(uiLocation).then(next);
+ Common.Revealer.revealPromise(uiLocation).then(next);
},
function revealResource(next)
{
- WebInspector.Revealer.revealPromise(resource).then(next);
+ Common.Revealer.revealPromise(resource).then(next);
},
function revealRequestWithResource(next)
{
- WebInspector.Revealer.revealPromise(requestWithResource).then(next);
+ Common.Revealer.revealPromise(requestWithResource).then(next);
},
function revealRequestWithoutResource(next)
{
- WebInspector.Revealer.revealPromise(requestWithoutResource).then(next);
+ Common.Revealer.revealPromise(requestWithoutResource).then(next);
}
]);
function installHooks()
{
- InspectorTest.addSniffer(WebInspector.ElementsPanel.prototype, "revealAndSelectNode", nodeRevealed, true);
- InspectorTest.addSniffer(WebInspector.SourcesPanel.prototype, "showUILocation", uiLocationRevealed, true);
- InspectorTest.addSniffer(WebInspector.ResourcesPanel.prototype, "showResource", resourceRevealed, true);
- InspectorTest.addSniffer(WebInspector.NetworkPanel.prototype, "revealAndHighlightRequest", revealed, true);
+ InspectorTest.addSniffer(Elements.ElementsPanel.prototype, "revealAndSelectNode", nodeRevealed, true);
+ InspectorTest.addSniffer(Sources.SourcesPanel.prototype, "showUILocation", uiLocationRevealed, true);
+ InspectorTest.addSniffer(Resources.ResourcesPanel.prototype, "showResource", resourceRevealed, true);
+ InspectorTest.addSniffer(Network.NetworkPanel.prototype, "revealAndHighlightRequest", revealed, true);
}
function nodeRevealed(node)
@@ -120,7 +120,7 @@ function test() {
function revealed(request)
{
- InspectorTest.addResult("Request " + new WebInspector.ParsedURL(request.url).lastPathComponent + " revealed in the Network panel");
+ InspectorTest.addResult("Request " + new Common.ParsedURL(request.url).lastPathComponent + " revealed in the Network panel");
}
}

Powered by Google App Engine
This is Rietveld 408576698