mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-25 06:02:13 +00:00
Update alert message regarding Firefox version (#1870)
This commit is contained in:
parent
9768ec9cab
commit
394be5ec21
@ -12,7 +12,7 @@ concurrency.disabled = true;
|
|||||||
|
|
||||||
// First up, but try to do feature detection to provide better error messages
|
// First up, but try to do feature detection to provide better error messages
|
||||||
function loadWasm() {
|
function loadWasm() {
|
||||||
let msg = 'This demo currently requires Firefox Nightly (64.0) with\n'
|
let msg = 'This demo requires a current version of Firefox (e.g., 70.0) with\n'
|
||||||
msg += 'the `javascript.options.shared_memory` option enabled in `about:config`';
|
msg += 'the `javascript.options.shared_memory` option enabled in `about:config`';
|
||||||
if (typeof SharedArrayBuffer !== 'function') {
|
if (typeof SharedArrayBuffer !== 'function') {
|
||||||
alert('this browser does not have SharedArrayBuffer support enabled' + '\n\n' + msg);
|
alert('this browser does not have SharedArrayBuffer support enabled' + '\n\n' + msg);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user