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

Unified Diff: test/debugger/debug/wasm/frame-inspection.js

Issue 2591753002: [wasm] Implement correct 2-level namespace for imports. (Closed)
Patch Set: Fix debug tests Created 4 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
« no previous file with comments | « src/wasm/wasm-module-builder.cc ('k') | test/inspector/debugger/wasm-source.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/debugger/debug/wasm/frame-inspection.js
diff --git a/test/debugger/debug/wasm/frame-inspection.js b/test/debugger/debug/wasm/frame-inspection.js
index 341589a81322ae55e2e017916732090a432ba50f..45c0253aa6c7a75ac2533a9a7fea5dd4074df967 100644
--- a/test/debugger/debug/wasm/frame-inspection.js
+++ b/test/debugger/debug/wasm/frame-inspection.js
@@ -48,7 +48,7 @@ var builder = new WasmModuleBuilder();
// wasm_1 calls wasm_2 on offset 2.
// wasm_2 calls call_debugger on offset 1.
-builder.addImport('func', kSig_v_v);
+builder.addImport("mod", 'func', kSig_v_v);
builder.addFunction('wasm_1', kSig_v_v)
.addBody([kExprNop, kExprCallFunction, 2])
@@ -60,7 +60,7 @@ function call_debugger() {
debugger;
}
-var module = builder.instantiate({func: call_debugger});
+var module = builder.instantiate({mod: {func: call_debugger}});
(function testFrameInspection() {
Debug.setListener(listener);
« no previous file with comments | « src/wasm/wasm-module-builder.cc ('k') | test/inspector/debugger/wasm-source.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698