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

Unified Diff: test/mjsunit/debug-continue.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-continue.js
diff --git a/test/mjsunit/debug-continue.js b/test/mjsunit/debug-continue.js
index 1d0be637ff149b072df39d3ed7b620e69ac6ea39..55bbb29b1d246acc3476695aa22cd1ab7af695c4 100644
--- a/test/mjsunit/debug-continue.js
+++ b/test/mjsunit/debug-continue.js
@@ -74,12 +74,14 @@ function listener(event, exec_state, event_data, data) {
// Test some illegal continue requests.
testArguments(exec_state, '{"stepaction":"maybe"}', false);
- testArguments(exec_state, '{"stepcount":-1}', false);
// Test some legal continue requests.
testArguments(exec_state, '{"stepaction":"in"}', true);
testArguments(exec_state, '{"stepaction":"next"}', true);
testArguments(exec_state, '{"stepaction":"out"}', true);
+
+ // Step count argument is ignored.
+ testArguments(exec_state, '{"stepcount":-1}', true);
testArguments(exec_state, '{"stepcount":1}', true);
testArguments(exec_state, '{"stepcount":10}', true);
testArguments(exec_state, '{"stepcount":"10"}', true);

Powered by Google App Engine
This is Rietveld 408576698