Index: third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html b/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
index 390ee4d0df39c6fc9fb184c5d6c319d206e9b871..336c5fc114a6d26d4dea974aafb0fde533b5be9a 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/console/console-links-on-messages-before-inspection.html |
@@ -15,8 +15,8 @@ function test() |
{ |
var mainTarget = SDK.targetManager.mainTarget(); |
var debuggerModel = SDK.DebuggerModel.fromTarget(mainTarget); |
- var message = new SDK.ConsoleMessage(mainTarget, SDK.ConsoleMessage.MessageSource.JS, SDK.ConsoleMessage.MessageLevel.Info, "hello?", null, "http://127.0.0.1:8000/inspector/resources/source2.js"); |
- SDK.consoleModel.addMessage(message); |
+ var message = new ConsoleModel.ConsoleMessage(mainTarget, ConsoleModel.ConsoleMessage.MessageSource.JS, ConsoleModel.ConsoleMessage.MessageLevel.Info, "hello?", null, "http://127.0.0.1:8000/inspector/resources/source2.js"); |
+ ConsoleModel.consoleModel.addMessage(message); |
debuggerModel.addEventListener(SDK.DebuggerModel.Events.ParsedScriptSource, onScriptAdded); |
InspectorTest.dumpConsoleMessages(); |