Index: LayoutTests/inspector/sources/debugger/breakpoint-manager.html |
diff --git a/LayoutTests/inspector/sources/debugger/breakpoint-manager.html b/LayoutTests/inspector/sources/debugger/breakpoint-manager.html |
index 5ad79ab181e7341eed2e4f662b00f898fe8829d1..fee3b65259f920f183d9f0f897dad17ad3a0c157 100644 |
--- a/LayoutTests/inspector/sources/debugger/breakpoint-manager.html |
+++ b/LayoutTests/inspector/sources/debugger/breakpoint-manager.html |
@@ -6,6 +6,7 @@ |
function test() |
{ |
+ setTimeout(InspectorTest.completeTest, 2000); |
vsevik
2014/06/04 08:15:22
Redundant
|
var workspace; |
var uiSourceCodes = {}; |
var mockTarget = { |
@@ -15,10 +16,8 @@ function test() |
return 1; |
} |
}; |
- var targetManager = { |
- targets: function () { return [mockTarget]}, |
- observeTargets: function() {} |
- } |
+ var targetManager = new WebInspector.TargetManager(); |
+ targetManager._targets.push(mockTarget); |
var defaultMapping = { |
rawLocationToUILocation: function(rawLocation) |
@@ -295,7 +294,6 @@ function test() |
workspace = new WebInspector.Workspace(); |
var breakpointManager = new WebInspector.BreakpointManager(setting, workspace, targetManager); |
mockTarget.debuggerModel = debuggerModel; |
vsevik
2014/06/04 08:15:22
This one is redundant
|
- breakpointManager.targetAdded(mockTarget); |
breakpointManager._networkWorkspaceBinding = new WebInspector.NetworkWorkspaceBinding(workspace); |
breakpointManager._debuggerProjectDelegate = new WebInspector.DebuggerProjectDelegate(workspace, "debugger:", WebInspector.projectTypes.Debugger); |
breakpointManager.addEventListener(WebInspector.BreakpointManager.Events.BreakpointAdded, breakpointAdded); |