-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Next] Is broken on Safari/IOS #1648
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
Comments
did you mean
Safari supports SharedArrayBuffer and all tests work to me in Safari (as long as SharedArrayBuffer is not explicitly disabled)
This is not our project fault, rather an issue with https://esm.sh/@pyscript/core@0.1.5/core.js ... maybe I should just switch all demo to use directly either /* esm.sh - error */
throw new Error("[esm.sh] " + "esbuild: Top-level await is not available in the configured target environment (\"es2021\")");
export default null; I will try to file an issue though as |
I've filed an issue but I really don't like what I've witnessed in there ... I think we need to move away ASAP from |
@fpliger can you please try |
It seems to raise a different error on Safari: check it out here |
@fpliger if you're testing on Epiphany or GNOME Web please don't ... use the provided Safari (WebKit TP) official build out of flatpak https://webkit.org/downloads/ (see bottom page) edit once you do that, be sure you enable the flag for SharedArrayBuffer as that TP doesn't enable that by default |
btw, they suggested to use https://esm.sh/@pyscript/core@0.1.5/core.js?target=esnext instead to avoid the issue ... that still stinks to me as resolution, explained in the filed bug. |
@WebReflection , I'm using Safari on Mac ... and still no luck :( (still seeing We can check it together tomorrow... |
which version? |
I'm on |
This has been fixed by #1655 and changes upstream. Closing. @WebReflection feel free to re-open if I'm missing something |
Nice |
Checklist
What happened?
Current
main
(the foundation of the release2023.09.1
) doesn't work on IOS/Safari (and any browser that doesn't support Atomics). This will probably self solve as browsers catch up but in the meantime we need a polyfill or detection of some sort...To reproduce open this in Safari: https://fpliger.pyscriptapps.com/me35-1-micropython-copy/latest/
What browsers are you seeing the problem on? (if applicable)
No response
Console info
Additional Context
No response
The text was updated successfully, but these errors were encountered: