Gday,
With the security updates introduced in 25.09.4, strict Content Security Policy (CSP) enforcement now blocks WebAssembly compilation with the following error:
Uncaught RuntimeError: Aborted(CompileError: WebAssembly.instantiate(): Refused to compile or instantiate WebAssembly module because ‘unsafe-eval’ is not an allowed source of script…
My Use Case: I maintain an interactive chess template that utilizes a local Stockfish engine running within a Web Worker. This allows for things like quick analysis and play vs engine cards. There is an asm version of stockfish.js I can use but it is a fair bit weaker so I would like to avoid this if possible.
I get the need for strict security against malicious shared decks, and my use case is pretty niche, but my question is whether some kind of opt-in solution might be possible. Like allowing users to manually opt-in/trust certain decks or something?