3 ms·
Here's some context you didn't ask for, but hope you find it helpful. There's standardization work being done to enable SAB behind a new security context. Mozi
by hoten 6y ago
Here's some context you didn't ask for, but hope you find it helpful.
There's standardization work being done to enable SAB behind a new security context. Mozilla has a good summary: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/Planned_changes https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
At the moment, I think only Chromium enables SAB by default for devices that have "Site Isolation" enabled (avoids spectre attacks by using process isolation). That's a browser feature specific to Chromium, and is disable for some low-memory devices, so it's not universal.
I'm not familiar with how far along Chromium or Firefox are. If you're interested in using SAB, start reading up on COOP and COEP.
Source: I work on web tooling at Chrome.