Hello,
(I want to pass large strings (around 100 MB) from JavaScript to C++ in the first place.
This is a really reduced Code to show the problem, even if the code makes no sense anymore.)
The Code IsNotWorking.html is working in Firefox but not in Chrome. Working means, that I can see the two console outputs:
within onRuntimeInitialized
within loadString
The Code IsWorking.html is working in Firefox and in Chrome.
The difference is just two lines which are not needed at all.
Even by just commenting out these two lines, it does not work in Chrome.
I put the code on Github, since there are large strings involved:
Windows 11, emcc 4.0.3, Firefox 139.0.4 64 Bit, Chrome 137.0.7151.104 64 Bit
Can somebody reproduce this?
Thanks for Your help!!