diff options
Diffstat (limited to 'deps/v8/test/inspector/debugger/wasm-stack-check.js')
-rw-r--r-- | deps/v8/test/inspector/debugger/wasm-stack-check.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/test/inspector/debugger/wasm-stack-check.js b/deps/v8/test/inspector/debugger/wasm-stack-check.js index 13f78446ea..4189abd3e1 100644 --- a/deps/v8/test/inspector/debugger/wasm-stack-check.js +++ b/deps/v8/test/inspector/debugger/wasm-stack-check.js @@ -70,8 +70,9 @@ async function inspect(frame) { if (scope.type == 'module') continue; var scope_properties = await Protocol.Runtime.getProperties({objectId: scope.object.objectId}); - let str = scope_properties.result.result.map( - elem => WasmInspectorTest.getWasmValue(elem.value)).join(', '); + let str = (await Promise.all(scope_properties.result.result.map( + elem => WasmInspectorTest.getWasmValue(elem.value)))) + .join(', '); line.push(`${scope.type}: [${str}]`); } InspectorTest.log(line.join('; ')); |