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

Side by Side Diff: LayoutTests/inspector/sources/debugger/breakpoint-manager.js

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/file-system-project-mapping.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var initialize_BreakpointManagerTest = function() { 1 var initialize_BreakpointManagerTest = function() {
2 2
3 InspectorTest.uiSourceCodes = {}; 3 InspectorTest.uiSourceCodes = {};
4 4
5 InspectorTest.dumpTargetIds = false; 5 InspectorTest.dumpTargetIds = false;
6 6
7 InspectorTest.initializeDefaultMappingOnTarget = function(target) 7 InspectorTest.initializeDefaultMappingOnTarget = function(target)
8 { 8 {
9 var defaultMapping = { 9 var defaultMapping = {
10 rawLocationToUILocation: function(rawLocation) 10 rawLocationToUILocation: function(rawLocation)
(...skipping 16 matching lines...) Expand all
27 target.defaultMapping = defaultMapping; 27 target.defaultMapping = defaultMapping;
28 } 28 }
29 29
30 InspectorTest.createMockTarget = function(id) 30 InspectorTest.createMockTarget = function(id)
31 { 31 {
32 var target = { 32 var target = {
33 id: function() 33 id: function()
34 { 34 {
35 return id; 35 return id;
36 }, 36 },
37 37 resourceTreeModel: new WebInspector.Object(),
38 addEventListener: function() { }, 38 addEventListener: function() { },
39 removeEventListener: function() { }, 39 removeEventListener: function() { },
40 dispose: function() { }, 40 dispose: function() { },
41 isDetached: function() { return !!this.detached; } 41 isDetached: function() { return !!this.detached; }
42 }; 42 };
43 target._modelByConstructor = new Map(); 43 target._modelByConstructor = new Map();
44 InspectorTest.initializeDefaultMappingOnTarget(target); 44 InspectorTest.initializeDefaultMappingOnTarget(target);
45 target.debuggerModel = new InspectorTest.DebuggerModelMock(target, target.de faultMapping, InspectorTest.testDebuggerWorkspaceBinding); 45 target.debuggerModel = new InspectorTest.DebuggerModelMock(target, target.de faultMapping, InspectorTest.testDebuggerWorkspaceBinding);
46 target.debuggerModel._target = target; 46 target.debuggerModel._target = target;
47 return target; 47 return target;
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 } 399 }
400 400
401 function finish() 401 function finish()
402 { 402 {
403 InspectorTest.dumpBreakpointLocations(breakpointManager); 403 InspectorTest.dumpBreakpointLocations(breakpointManager);
404 next(); 404 next();
405 } 405 }
406 } 406 }
407 407
408 } 408 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/file-system-project-mapping.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698