Safari mobile support?

39 views
Skip to first unread message

Beuc

unread,
Oct 12, 2019, 4:32:48 AM10/12/19
to emscripten-discuss
Hi,

It seems that Safari/Safari mobile is supporting WebAssembly but with
limitations, which make it harder to tell the user whether they can play
the game or not, so they get cryptic errors instead.

I eventually got a few proper traces from a Safari Mobile user (I don't
own apple hardware):

For https://renpy.beuc.net/play/?game=the_question.zip:
wasm instantiation failed!
Error: Out of executable memory in function at index 15855
(even with freeing memory / restarting the browser)

For the lighter https://www.beuc.net/python-emscripten/demo/
exception thrown: RangeError: Maximum call stack size exceeded.,
<?>.wasm-function[705]@[wasm code]
... [76 other wasm-function's]
<?>.wasm-function[5481]@[wasm code]
wasm-stub@[wasm code]
Gb@[native code]
https://www.beuc.net/python-emscripten/demo/index.js:1:182840
callMain@https://www.beuc.net/python-emscripten/demo/index.js:1:187051
doRun@https://www.beuc.net/python-emscripten/demo/index.js:1:187638
https://www.beuc.net/python-emscripten/demo/index.js:1:187790

This is the only browser where this happens.

Do you have similar issues with Safari?
Is there a way to properly detect such limited WebAssembly environment?
(I wouldn't want to blindly blacklist Safari)

Cheers!
Beuc

Александр Гурьянов

unread,
Oct 12, 2019, 7:44:16 AM10/12/19
to emscripte...@googlegroups.com
https://github.com/emscripten-core/emscripten/issues/6042

сб, 12 окт. 2019 г. в 15:32, Beuc <be...@beuc.net>:
> --
> 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 emscripten-disc...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/615b9d0a-ccfa-ae67-5902-1e0b68c4c46c%40beuc.net.
Reply all
Reply to author
Forward
0 new messages