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 f6f6bd838451d7b22d4a7d42d823952a8db1426a..42f41ee6f927fe71ec3ca396dc158384d4bdb3da 100644 |
--- a/LayoutTests/inspector/sources/debugger/breakpoint-manager.html |
+++ b/LayoutTests/inspector/sources/debugger/breakpoint-manager.html |
@@ -36,18 +36,10 @@ function test() |
serializedBreakpoints.push(createBreakpoint("a.js", 20, "", false)); |
serializedBreakpoints.push(createBreakpoint("b.js", 3, "", true)); |
- var mockTarget = { |
- |
- id: function() |
- { |
- return 1; |
- } |
- }; |
var targetManager = new WebInspector.TargetManager(); |
+ var mockTarget = InspectorTest.createMockTarget(targetManager, 1); |
targetManager._targets.push(mockTarget); |
- |
InspectorTest.setupLiveLocationSniffers(); |
- InspectorTest.initializeDefaultMappingOnTarget(mockTarget); |
var addUISourceCode = InspectorTest.addUISourceCode.bind(null, mockTarget); |
var createBreakpointManager = InspectorTest.createBreakpointManager.bind(null, targetManager); |