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

Unified Diff: LayoutTests/inspector/sources/debugger/script-failed-to-parse.html

Issue 881263002: DevTools: use target-based model accessors only. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 11 months 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: 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();
}
}

Powered by Google App Engine
This is Rietveld 408576698