Hi!

I've compiled my code with emscripten 1.38.28 and now I try to launch it on 
IOS 13. I've encountered with such error in Safari browser:
[Error] Unhandled Promise Rejection: TypeError: 'arguments', 'callee', and 
'caller' cannot be accessed in this context.
    (anonymous function) (wasm_engine.js:1:164129)
    run (wasm_engine.js:1:164129)
    runCaller (wasm_engine.js:1:164033)
    removeRunDependency (wasm_engine.js:1:17782)
    receiveInstance (wasm_engine.js:1:19069)
    receiveInstantiatedSource (wasm_engine.js:1:19358)
    promiseReactionJob

I'm not good in web development and JS in partial, but after some 
investigations I think, the problem is that Safari on IOS 13 uses *strict 
mode* by default, which causes error mentioned above.

Could anyone suggest me how can I compile JS glue code for *strict mode* or 
avoid such error in my web js code?

Thanks a lot!

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/a4d699b6-235d-4043-b694-2a573beff35e%40googlegroups.com.

Reply via email to