Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mono/wasm/test-main.js')
-rw-r--r--src/mono/wasm/test-main.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mono/wasm/test-main.js b/src/mono/wasm/test-main.js
index 2eb29cba95e..d327e811252 100644
--- a/src/mono/wasm/test-main.js
+++ b/src/mono/wasm/test-main.js
@@ -490,7 +490,8 @@ const App = {
const fqn = "[System.Private.Runtime.InteropServices.JavaScript.Tests]System.Runtime.InteropServices.JavaScript.Tests.HelperMarshal:" + method_name;
try {
- return App.INTERNAL.call_static_method(fqn, args || [], signature);
+ const method = App.BINDING.bind_static_method(fqn, signature);
+ return method.apply(null, args || []);
} catch (exc) {
console.error("exception thrown in", fqn);
throw exc;