Index: test/mjsunit/regress/regress-1081309.js |
diff --git a/test/mjsunit/regress/regress-1081309.js b/test/mjsunit/regress/regress-1081309.js |
index a771ac04482dc45adc4242ac59a9fbe8c7ece7ec..009ede15166d7bc1df01be1bedeb49aef24c2038 100644 |
--- a/test/mjsunit/regress/regress-1081309.js |
+++ b/test/mjsunit/regress/regress-1081309.js |
@@ -69,7 +69,7 @@ function listener(event, exec_state, event_data, data) { |
// 0: [anonymous] |
// Get the debug command processor. |
- var dcp = exec_state.debugCommandProcessor(); |
+ var dcp = exec_state.debugCommandProcessor(false); |
// Get the backtrace. |
var json; |
@@ -105,6 +105,6 @@ try { |
// Ignore the exception "Cannot call method 'x' of undefined" |
} |
+assertFalse(exception, "exception in listener", exception) |
// Make sure that the debug event listener vas invoked. |
assertTrue(listenerCalled, "listener not called"); |
-assertFalse(exception, "exception in listener", exception) |