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

Unified Diff: test/inspector/debugger/wasm-source.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 | « test/debugger/debug/wasm/frame-inspection.js ('k') | test/inspector/debugger/wasm-stack.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/wasm-source.js
diff --git a/test/inspector/debugger/wasm-source.js b/test/inspector/debugger/wasm-source.js
index 0a77c19ac40fc07615c5b4f5bf439730d9076005..6d9d044b30c5978e67f47efd45e4bca1cf4ae8f0 100644
--- a/test/inspector/debugger/wasm-source.js
+++ b/test/inspector/debugger/wasm-source.js
@@ -9,7 +9,7 @@ load('test/mjsunit/wasm/wasm-module-builder.js');
var builder = new WasmModuleBuilder();
-var imported_idx = builder.addImport("func", kSig_v_v);
+var imported_idx = builder.addImport("xxx", "func", kSig_v_v);
var call_imported_idx = builder.addFunction("call_func", kSig_v_v)
.addBody([kExprCallFunction, imported_idx])
@@ -40,7 +40,7 @@ function testFunction(bytes) {
}
var module = new WebAssembly.Module(buffer);
- var instance = new WebAssembly.Instance(module, {func: call_debugger});
+ var instance = new WebAssembly.Instance(module, {xxx: {func: call_debugger}});
instance.exports.main();
}
« no previous file with comments | « test/debugger/debug/wasm/frame-inspection.js ('k') | test/inspector/debugger/wasm-stack.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698