Commit b1370be3 authored by Philip Pfaffe's avatar Philip Pfaffe Committed by Commit Bot

Add the remaining spaces to the WebAssembly JS debug proxy

Bug: chromium:1127914
Change-Id: Ic55028b501ad7fdd5b940b1ceff2fa0f249747ce
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2449979
Commit-Queue: Philip Pfaffe <pfaffe@chromium.org>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70347}
parent 255db1d2
This diff is collapsed.
...@@ -537,23 +537,23 @@ WASM_COMPILED_EXEC_TEST(WasmDebugEvaluate_JavaScript) { ...@@ -537,23 +537,23 @@ WASM_COMPILED_EXEC_TEST(WasmDebugEvaluate_JavaScript) {
V8String(isolate, V8String(isolate,
"JSON.stringify([" "JSON.stringify(["
"$global0, " "$global0, "
//"$table0, " "$table0, "
"$var0, " "$var0, "
//"$main, " "$main, "
//"$memory0, " "$memory0, "
"globals[0], " "globals[0], "
//"tables[0], " "tables[0], "
"locals[0], " "locals[0], "
//"functions[0], " "functions[0], "
//"memories[0], " "memories[0], "
//"memories, " "memories, "
//"tables, " "tables, "
//"stack, " "stack, "
//"imports, " "imports, "
//"exports, " "exports, "
"globals, " "globals, "
"locals, " "locals, "
//"functions, " "functions, "
"], (k, v) => k === 'at' || typeof v === 'undefined' || typeof " "], (k, v) => k === 'at' || typeof v === 'undefined' || typeof "
"v === 'object' ? v : v.toString())"); "v === 'object' ? v : v.toString())");
...@@ -563,10 +563,10 @@ WASM_COMPILED_EXEC_TEST(WasmDebugEvaluate_JavaScript) { ...@@ -563,10 +563,10 @@ WASM_COMPILED_EXEC_TEST(WasmDebugEvaluate_JavaScript) {
WasmJSBreakHandler::EvaluationResult result = WasmJSBreakHandler::EvaluationResult result =
break_handler.result().ToChecked(); break_handler.result().ToChecked();
CHECK_WITH_MSG(result.error.IsNothing(), result.error.ToChecked().c_str()); CHECK_WITH_MSG(result.error.IsNothing(), result.error.ToChecked().c_str());
CHECK_EQ(result.result.ToChecked(), "[\"66\",\"65\",\"66\",\"65\",{},{}]"); CHECK_EQ(result.result.ToChecked(),
//"[\"66\",{},\"65\",\"function 0() { [native code] }\",{}," "[\"66\",{},\"65\",\"function 0() { [native code] }\",{},"
//"\"66\",{},\"65\",\"function 0() { [native code] }\",{}," "\"66\",{},\"65\",\"function 0() { [native code] }\",{},"
//"{},{},{\"0\":\"65\"},{},{},{},{},{}]"); "{},{},{\"0\":\"65\"},{},{},{},{},{}]");
} }
} // namespace } // namespace
......
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