Closed as not planned
Description
p5.js version
No response
What is your operating system?
None
Web browser and version
No response
Actual Behavior
Actual Behavior:
When running the p5.js web editor in certain browsers (e.g., Firefox and some versions of Chrome), SharedArrayBuffer is undefined. This causes errors when attempting to use WebAssembly or other related features in p5.js.
Error Message:
Uncaught ReferenceError: SharedArrayBuffer is not defined
Expected Behavior
The SharedArrayBuffer API should be accessible in supported browsers.
The web editor should either handle this gracefully or provide a fallback mechanism.
Steps to reproduce
Open the p5.js Web Editor in Firefox or an affected version of Chrome.
Run a sketch that uses WebAssembly or SharedArrayBuffer.
Observe the error in the developer console.