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

Unified Diff: LayoutTests/inspector/sources/debugger/file-system-project-mapping.html

Issue 485713002: DevTools: Use targetManager.inspectedPageUrl() instead of resourceTreeModel.inspectedPageUrl() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addrss comments Created 6 years, 4 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/file-system-project-mapping.html
diff --git a/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html b/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
index 26405a6486fee5fc36c5ea77e3d6f84541974666..49cb2788f3b4144039df5ab43b70850cf8d131fc 100644
--- a/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
+++ b/LayoutTests/inspector/sources/debugger/file-system-project-mapping.html
@@ -17,6 +17,7 @@ function test()
MockTarget.prototype = {
_loadedWithCapabilities: function(callback)
{
+ this.resourceTreeModel = new WebInspector.Object();
this.debuggerModel = new WebInspector.DebuggerModel(this);
this.runtimeModel = WebInspector.targetManager.mainTarget().runtimeModel;
this.consoleModel = WebInspector.targetManager.mainTarget().consoleModel;
« no previous file with comments | « LayoutTests/inspector/sources/debugger/breakpoint-manager.js ('k') | Source/devtools/front_end/bindings/ResourceUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698