2 ms·
This could use feature detection or a try/catch or around creating a SharedArrayBuffer, as browsers that don't support it will be stuck on loading with no error
by lights0123 6y ago
This could use feature detection or a try/catch or around creating a SharedArrayBuffer, as browsers that don't support it will be stuck on loading with no error message. This is seen in Firefox because even though FF supports SAB, this website doesn't send the required headers to tell FF to enable Spectre mitigations: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#Security_requirements https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...