Commit 183cbdaf authored by Clemens Backes's avatar Clemens Backes Committed by Commit Bot

[wasm][test] Remove wrong and unused array elements

Only the first four elements of the array will be used. Also, the fifth
element sais 'stepInfo' instead of 'stepInto'.

R=thibaudm@chromium.org

Change-Id: I258a8b95795f0cfbcaf500b7d174786680914d36
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2316110Reviewed-by: 's avatarThibaud Michaud <thibaudm@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#69062}
parent 9d4dcce7
......@@ -29,8 +29,7 @@ function getShortLocationString(location) {
return `${location.lineNumber}:${location.columnNumber}`;
}
let actions =
['stepInto', 'resume', 'stepInto', 'resume', 'stepInfo', 'resume'];
let actions = ['stepInto', 'resume', 'stepInto', 'resume'];
Protocol.Debugger.onPaused(async msg => {
InspectorTest.log('Paused at:');
for (let [nr, frame] of msg.params.callFrames.entries()) {
......@@ -40,6 +39,10 @@ Protocol.Debugger.onPaused(async msg => {
}
InspectorTest.log('-------------');
let action = actions.shift();
if (!action) {
InspectorTest.log('ERROR: no more expected action');
action = 'resume';
}
InspectorTest.log(`-> ${action}`);
Protocol.Debugger[action]();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment