Index: test/mjsunit/debug-stepin-constructor.js |
=================================================================== |
--- test/mjsunit/debug-stepin-constructor.js (revision 1198) |
+++ test/mjsunit/debug-stepin-constructor.js (working copy) |
@@ -45,7 +45,7 @@ |
}; |
// Add the debug event listener. |
-Debug.addListener(listener); |
+Debug.setListener(listener); |
// Test step into constructor with simple constructor. |
function X() { |
@@ -71,4 +71,4 @@ |
assertEquals(4, break_break_point_hit_count); |
// Get rid of the debug event listener. |
-Debug.removeListener(listener); |
+Debug.setListener(null); |