| 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");
|
| }
|
| }
|
|
|
|
|