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

Unified Diff: LayoutTests/inspector/sources/debugger/breakpoint-manager.html

Issue 332173002: DevTools: Add test multi-target-breakpoint-manager.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address vsevik's comments Created 6 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/breakpoint-manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | LayoutTests/inspector/sources/debugger/breakpoint-manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698