Index: test/mjsunit/debug-script-breakpoints.js |
diff --git a/test/mjsunit/debug-script-breakpoints.js b/test/mjsunit/debug-script-breakpoints.js |
index ec9656c28c47c70f50c27884121d69099d6c0bcd..d4ce6dc98b40992e54c78dda07b28241b231afbf 100644 |
--- a/test/mjsunit/debug-script-breakpoints.js |
+++ b/test/mjsunit/debug-script-breakpoints.js |
@@ -28,6 +28,7 @@ |
// Flags: --expose-debug-as debug |
// Get the Debug object exposed from the debug context global object. |
Debug = debug.Debug |
+Debug.setListener(function(){}); |
// Set and remove a script break point for a named script. |
var sbp = Debug.setScriptBreakPointByName("1", 2, 3); |
@@ -110,3 +111,5 @@ Debug.clearBreakPoint(sbp3); |
assertEquals(1, Debug.scriptBreakPoints().length); |
Debug.clearBreakPoint(sbp2); |
assertEquals(0, Debug.scriptBreakPoints().length); |
+ |
+Debug.setListener(null); |