| Index: test/mjsunit/debug-constructor.js
|
| ===================================================================
|
| --- test/mjsunit/debug-constructor.js (revision 1198)
|
| +++ test/mjsunit/debug-constructor.js (working copy)
|
| @@ -40,7 +40,7 @@
|
| };
|
|
|
| // Add the debug event listener.
|
| -Debug.addListener(listener);
|
| +Debug.setListener(listener);
|
|
|
| // Test debug event for constructor.
|
| function a() {
|
| @@ -75,4 +75,4 @@
|
| assertEquals("bbccdcb", call_graph);
|
|
|
| // Get rid of the debug event listener.
|
| -Debug.removeListener(listener);
|
| +Debug.setListener(null);
|
|
|