diff options
Diffstat (limited to 'src/mono/wasm/test-main.js')
-rw-r--r-- | src/mono/wasm/test-main.js | 3 |
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; |