Files
FlaxEngine/Source/Platforms/Web/Binaries/check_jspi.js
T

6 lines
187 B
JavaScript

if (!('Suspending' in WebAssembly)) {
console.log(navigator.userAgent);
alert(`JSPI is not supported in this browser.`)
throw new Error(`JSPI is not supported in this browser.`);
}