Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Unified Diff: test/mjsunit/regress/regress-crbug-405922.js

Issue 1525173003: [debugger] remove step count parameter from prepare step. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698