| Index: third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html
|
| diff --git a/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html b/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html
|
| index 247ef9a31707d61b390bd6f708920987f31a6996..c84e352e0320eb2f65f796bc8c1123c4c5b6216d 100644
|
| --- a/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html
|
| +++ b/third_party/WebKit/LayoutTests/inspector/console/console-link-to-snippet.html
|
| @@ -7,14 +7,14 @@
|
|
|
| function test()
|
| {
|
| - InspectorTest.addSniffer(WebInspector.UISourceCode.prototype, "addLineMessage", dumpLineMessage, true);
|
| + InspectorTest.addSniffer(Workspace.UISourceCode.prototype, "addLineMessage", dumpLineMessage, true);
|
|
|
| InspectorTest.runTestSuite([
|
| function testConsoleLogAndReturnMessageLocation(next)
|
| {
|
| InspectorTest.waitUntilNthMessageReceivedPromise(2)
|
| .then(() => InspectorTest.dumpConsoleMessages())
|
| - .then(() => WebInspector.ConsoleView.clearConsole())
|
| + .then(() => Console.ConsoleView.clearConsole())
|
| .then(() => next());
|
|
|
| createSnippetPromise("console.log(239);42")
|
| @@ -27,7 +27,7 @@ function test()
|
| {
|
| InspectorTest.waitUntilNthMessageReceivedPromise(1)
|
| .then(() => InspectorTest.dumpConsoleMessages())
|
| - .then(() => WebInspector.ConsoleView.clearConsole())
|
| + .then(() => Console.ConsoleView.clearConsole())
|
| .then(() => next());
|
|
|
| createSnippetPromise("\n }")
|
| @@ -40,7 +40,7 @@ function test()
|
| {
|
| InspectorTest.waitUntilNthMessageReceivedPromise(1)
|
| .then(() => InspectorTest.dumpConsoleMessages())
|
| - .then(() => WebInspector.ConsoleView.clearConsole())
|
| + .then(() => Console.ConsoleView.clearConsole())
|
| .then(() => next());
|
|
|
| createSnippetPromise("\n console.error(42);")
|
| @@ -54,7 +54,7 @@ function test()
|
| {
|
| var callback;
|
| var promise = new Promise(fullfill => callback = fullfill);
|
| - WebInspector.scriptSnippetModel._project.createFile("", null, content, callback);
|
| + Snippets.scriptSnippetModel._project.createFile("", null, content, callback);
|
| return promise;
|
| }
|
|
|
| @@ -68,7 +68,7 @@ function test()
|
|
|
| function selectSourceCode(uiSourceCode)
|
| {
|
| - return WebInspector.Revealer.revealPromise(uiSourceCode).then(() => uiSourceCode);
|
| + return Common.Revealer.revealPromise(uiSourceCode).then(() => uiSourceCode);
|
| }
|
|
|
| function dumpLineMessage(level, text, lineNumber, columnNumber)
|
| @@ -78,7 +78,7 @@ function test()
|
|
|
| function runSelectedSnippet()
|
| {
|
| - WebInspector.SourcesPanel.instance()._runSnippet();
|
| + Sources.SourcesPanel.instance()._runSnippet();
|
| }
|
| }
|
| </script>
|
|
|