Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIB doesn’t work in Safari 12 #30

Open
nikolayemrikh opened this issue Aug 14, 2019 · 0 comments
Open

PIB doesn’t work in Safari 12 #30

nikolayemrikh opened this issue Aug 14, 2019 · 0 comments

Comments

@nikolayemrikh
Copy link

nikolayemrikh commented Aug 14, 2019

Hi, I’d like to ask you a question. PIB doesn’t work in Safari 12 because of never resolved promise, that returns from WebAssembly.instantiate, which used as fallback. Safari 12 ( and also 13 beta) doesn’t have WebAssembly.instantiateStreaming.
Promise only resolves in Safari 13 beta and all works.
I managed to find out that the problem is in WebAssembly.Memory, which instance used as property in second argument of WebAssembly.instantiate method. Promise had resolved when i removed WebAssembly.Memory instance from properties (it fails later, but anyway).
I tried to change the amount of allocated memory, but it had no effect

Maybe you have some thoughts about workaround of this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant