Unable to enable SharedArrayBuffer

Hi,

I’m trying integrate a JS module that uses a SharedArrayBuffer. However, SharedArrayBuffer isn’t defined, because crossOriginIsolated == false.

I don’t have a deep knowledge of this part, I have just noticed that origin == “file://” which is obviously different of a standard web app. I’m not sure if this is related.

Is there any way to make SharedArrayBuffer API available in a webOS app ?

To use the <script type="module"> , you must serve the html file through a server due to JavaScript module security requirements. Please try again with a hosted web app. Thank you.

Thanks for your quick answer, it works !