On 2026-02-23 22:10, Michael Van Canneyt via fpc-pascal wrote:

 .
 .
Instantiating of WebAssembly from pas2js.wasm failed wasm validation error: at offset 130: bad type

That error means the wasm engine of the browser is too old.

OK - admittedly, that SeaMonkey corresponds to Firefox/128.0 engine, which is not exactly the latest... ;-) I just tried to check whether I could reproduce the issue on Linux as well.


 .
 .
Yes, in the sense that it makes clear why it fails, but there is little I
can do if memory is so limited.

I have no idea if the memory limits may be somehow increased. But if not - OK, so be it.


Wasm is meanwhile quite established, if seamonkey does not support it:
again, little I can do about that.

(pas2js can be compiled to Javascript, but this is quite slow)

I'll add a message to the page saying that a "recent standards"-compliant browser is needed.

Thanks for testing this !

OK - however, that doesn't clarify the case of the latest Firefox on MS Windows then...

Tomas
_______________________________________________
fpc-pascal maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to