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

-- 
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/615b9d0a-ccfa-ae67-5902-1e0b68c4c46c%40beuc.net.

Reply via email to