Index: LayoutTests/inspector/sources/debugger/script-failed-to-parse.html |
diff --git a/LayoutTests/inspector/sources/debugger/script-failed-to-parse.html b/LayoutTests/inspector/sources/debugger/script-failed-to-parse.html |
index 88d56f01083fbe3a3b95349beabe72d8dd56b73c..aaa0fb362f23f17d92b589985564f20f321c4ed4 100644 |
--- a/LayoutTests/inspector/sources/debugger/script-failed-to-parse.html |
+++ b/LayoutTests/inspector/sources/debugger/script-failed-to-parse.html |
@@ -16,7 +16,7 @@ function test() |
InspectorTest.runDebuggerTestSuite([ |
function testScriptParsedEvent(next) |
{ |
- WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.FailedToParseScriptSource, scriptFailedToParse); |
+ InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.FailedToParseScriptSource, scriptFailedToParse); |
InspectorTest.evaluateInPage("addScript('resources/script-failed-to-parse.js')"); |
function scriptFailedToParse(event) |
@@ -24,7 +24,7 @@ function test() |
var script = event.data; |
if (script.sourceURL.indexOf("script-failed-to-parse.js") !== -1) { |
InspectorTest.addResult("Event with script-failed-to-parse.js received"); |
- WebInspector.debuggerModel.removeEventListener(WebInspector.DebuggerModel.Events.FailedToParseScriptSource, scriptFailedToParse); |
+ InspectorTest.debuggerModel.removeEventListener(WebInspector.DebuggerModel.Events.FailedToParseScriptSource, scriptFailedToParse); |
next(); |
} |
} |