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

Unified Diff: test/mjsunit/harmony/async-debug-step-continue-at-break.js

Issue 2067503002: [debugger] fix stepping over await calls for ignition generators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@test
Patch Set: Created 4 years, 6 months 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/harmony/async-debug-step-continue-at-break.js
diff --git a/test/mjsunit/harmony/async-debug-step-continue-at-break.js b/test/mjsunit/harmony/async-debug-step-continue-at-break.js
index db53b2c887c45cd1e82f177849140dd3d7f834ec..5099b2f53efe8b96290858597687171153176af0 100644
--- a/test/mjsunit/harmony/async-debug-step-continue-at-break.js
+++ b/test/mjsunit/harmony/async-debug-step-continue-at-break.js
@@ -3,7 +3,6 @@
// found in the LICENSE file.
// Flags: --expose-debug-as debug --allow-natives-syntax --harmony-async-await
-// Flags: --no-ignition-generators
var Debug = debug.Debug;
var step_count = 0;
@@ -14,7 +13,7 @@ function listener(event, execState, eventData, data) {
var line = execState.frame(0).sourceLineText();
print(line);
var [match, expected_count, step] = /\/\/ B(\d) (\w+)$/.exec(line);
- assertEquals(parseInt(expected_count), step_count++);
+ assertEquals(step_count++, parseInt(expected_count));
if (step != "Continue") execState.prepareStep(Debug.StepAction[step]);
} catch (e) {
print(e, e.stack);

Powered by Google App Engine
This is Rietveld 408576698