sharedarraybuffer Questions

3

So SharedArrayBuffer was recently limited to Cross-origin isolated pages as a security fix. We have a tool that depends on SharedArrayBuffer, I reworked it to work again by moving it to a barebones...
Gromyko asked 20/10, 2021 at 19:31

4

Solved

I have exported the web version of my Godot 4, it is in a folder on my local drive. Because of the SharedArrayBuffer dependency I can not just double-click in the index.html file. If I do so I see ...
Quagmire asked 1/8, 2023 at 15:19

3

I am facing a problem with decode() on SharedArrayBuffer. Code: var sharedArrayBuffer = new SharedArrayBuffer(2); var uint8Array = new Uint8Array(sharedArrayBuffer); uint8Array[0] = 20; var dec...

2

We have an electron app which uses ShareArrayBuffer. It was written with a very old version of electron. When we updated the electron version in order to use SIMD instructions in WASM, it started s...
Camisole asked 6/4, 2022 at 16:24

1

Solved

I need to share an object between a client side application and a web worker and I heard about SharedArrayBuffers. This is what I'd like to do. main.js let myWorker = new Worker('/worker.js') let m...
Paragraphia asked 16/3, 2022 at 21:7

2

Solved

(For some people, this question may equal to "if I can't use sharedArrayBuffer in my main site, can I open an iframe and use sharedArrayBuffer inside the iframe?") So I want to use some w...

2

I keep getting a 'SharedArrayBuffer is not defined' error when trying to run ffmpeg.wasm. It appears this is on the Webassembly side. Regardless, I know this is an issue that can be overcome with C...
Fordham asked 30/12, 2021 at 19:10

2

Solved

I have this experiment which I only run on my local machine: I load an external webpage from, for example https://example.com and the with puppeteer I inject a javascript file which is served from ...

1

I'm using ffmpeg.wasm in my site but it only works if the browser supports SharedArrayBuffer. Is there a simple way to test using javascript (browser js or nodejs) if the browser has support to it?...
Geneva asked 10/10, 2021 at 12:53

4

Solved

To use SharedArrayBuffer, we have to add two response headers: Cross-Origin-Opener-Policy: same-origin Cross-Origin-Embedder-Policy: require-corp Is there any way to add those headers with GitHub ...

1

Solved

So I read that there are upcoming changes in Chrome to enable the usage of SharedArrayBuffer specifically "Making your website "cross-origin isolated"". My site makes use of ext...
Hegemony asked 25/3, 2021 at 16:54

2

Solved

I'm trying to load ffmpeg.wasm in a react app to do a small video converter project. The code is working fine on chrome, but in firefox dev edition (83.0b) I catch the following error: ReferenceEr...
Prepotent asked 23/11, 2020 at 3:36

1

Solved

Take the following snippet: const arr = [1.1, 2.2, 3.3] const arrBuffer = (Float32Array.from(arr)).buffer How would one cast this ArrayBuffer to a SharedArrayBuffer? const sharedArrBuffer = ......

1

Solved

I don't see anything in the JavaScript spec, the proposed DOM spec extensions related to SharedArrayBuffer, or the current WHAT-WG HTML spec to suggest that shared memory will be synchronized/updat...
Quickly asked 21/9, 2018 at 14:25
1

© 2022 - 2024 — McMap. All rights reserved.