Index: test/mjsunit/regress/regress-crbug-405922.js |
diff --git a/test/mjsunit/regress/regress-crbug-405922.js b/test/mjsunit/regress/regress-crbug-405922.js |
index a38ac869124a089639222a846fbe480447da8e11..31b432de19ceeb8e03e7d0f768b9e6fafefc1e51 100644 |
--- a/test/mjsunit/regress/regress-crbug-405922.js |
+++ b/test/mjsunit/regress/regress-crbug-405922.js |
@@ -5,13 +5,15 @@ |
// Flags: --allow-natives-syntax --expose-debug-as debug |
Debug = debug.Debug |
+var exception = null; |
function listener(event, exec_state, event_data, data) { |
try { |
if (event == Debug.DebugEvent.Break) { |
- exec_state.prepareStep(Debug.StepAction.StepIn, 3); |
+ exec_state.prepareStep(Debug.StepAction.StepIn); |
} |
} catch (e) { |
+ exception = e; |
} |
} |
@@ -25,3 +27,4 @@ debugger; |
f(2); |
Debug.setListener(null); |
+assertNull(exception); |