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

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

Issue 2109813003: [DevTools] No NetworkManager and NetworkLog for v8only mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing code review comments Created 4 years, 5 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
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 30 matching lines...) Expand all
41 this._breakpoints = {}; 41 this._breakpoints = {};
42 this._debuggerWorkspaceBinding = InspectorTest.testDebuggerWorkspaceBinding; 42 this._debuggerWorkspaceBinding = InspectorTest.testDebuggerWorkspaceBinding;
43 } 43 }
44 44
45 InspectorTest.DebuggerModelMock.prototype = { 45 InspectorTest.DebuggerModelMock.prototype = {
46 target: function() 46 target: function()
47 { 47 {
48 return this._target; 48 return this._target;
49 }, 49 },
50 50
51 _targetDisposed: function() { },
52
51 debuggerEnabled: function() 53 debuggerEnabled: function()
52 { 54 {
53 return true; 55 return true;
54 }, 56 },
55 57
56 scriptsForSourceURL: function(url) 58 scriptsForSourceURL: function(url)
57 { 59 {
58 var script = this._scriptForURL(url); 60 var script = this._scriptForURL(url);
59 return script ? [script] : []; 61 return script ? [script] : [];
60 }, 62 },
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 384 }
383 385
384 function finish() 386 function finish()
385 { 387 {
386 InspectorTest.dumpBreakpointLocations(breakpointManager); 388 InspectorTest.dumpBreakpointLocations(breakpointManager);
387 next(); 389 next();
388 } 390 }
389 } 391 }
390 392
391 } 393 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698