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

Unified Diff: LayoutTests/inspector/sources/debugger/debugger-scripts.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/debugger-scripts.html
diff --git a/LayoutTests/inspector/sources/debugger/debugger-scripts.html b/LayoutTests/inspector/sources/debugger/debugger-scripts.html
index 28303efbed95a9d0117acbf1b2f89f5687b7ed22..c9ae8ebfc536dbf91a25c5e43fbecbcce6c8fec4 100644
--- a/LayoutTests/inspector/sources/debugger/debugger-scripts.html
+++ b/LayoutTests/inspector/sources/debugger/debugger-scripts.html
@@ -12,13 +12,13 @@ function test()
function step1()
{
InspectorTest.queryScripts(function(script) { step2({ data: script }) });
- WebInspector.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, step2);
+ InspectorTest.debuggerModel.addEventListener(WebInspector.DebuggerModel.Events.ParsedScriptSource, step2);
}
function step2(event)
{
var script = event.data;
- if (script.sourceURL !== WebInspector.resourceTreeModel.inspectedPageURL())
+ if (script.sourceURL !== InspectorTest.resourceTreeModel.inspectedPageURL())
return;
scripts.push(script);
if (scripts.length === 6)

Powered by Google App Engine
This is Rietveld 408576698