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

Unified Diff: test/mjsunit/debug-step-4.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/debug-step-4.js
diff --git a/test/mjsunit/debug-step-4.js b/test/mjsunit/debug-step-4.js
index c6b21af316751c4f1d40a38978cc949205c213c5..3992f622a623d31648bda010f9df67ff5ddfefaf 100644
--- a/test/mjsunit/debug-step-4.js
+++ b/test/mjsunit/debug-step-4.js
@@ -53,9 +53,7 @@ function h() {
}
}
-function TestCase(step_count, expected_final_state) {
- print("Test case, step count: " + step_count);
-
+function TestCase(expected_final_state) {
var listener_exception = null;
var state_snapshot;
var listener_state;
@@ -68,7 +66,7 @@ function TestCase(step_count, expected_final_state) {
if (event == Debug.DebugEvent.Break) {
if (listener_state == 0) {
Debug.clearBreakPoint(bp);
- exec_state.prepareStep(Debug.StepAction.StepNext, step_count);
+ exec_state.prepareStep(Debug.StepAction.StepNext);
listener_state = 1;
} else if (listener_state == 1) {
state_snapshot = String(state);
@@ -102,8 +100,4 @@ function TestCase(step_count, expected_final_state) {
// Warm-up -- make sure all is compiled and ready for breakpoint.
h();
-TestCase(0, "0,0,-1");
-TestCase(1, "0,0,-1");
-TestCase(2, "0,0,0");
-TestCase(5, "0,0,1");
-TestCase(8, "0,0,2");
+TestCase("0,0,-1");

Powered by Google App Engine
This is Rietveld 408576698