Shared Array Buffers (SABs) on Android

Adds the JavaScript type SharedArrayBuffer to Android gated behind COOP/COEP. The concept of a SharedArrayBuffer is that a message to a worker, is posted but instead of copying the content of the array just a reference to it is shared, so that all have the same view on the shared chunk of data in the memory. This feature is only targeting Android - https://www.chromestatus.com/feature/4570991992766464 handles all other platforms

Motivation

SABs are currently disabled in Chrome on Android. As COOP/COEP have been released we can use ‘self.crossOriginIsolated’ to re-enable SABs on Android in case the site is isolated

Documentation

Specification

Established standard

Status in Chromium

Blink>JavaScript


Enabled by default (tracking bug) in:

  • Chrome for Android release 88

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped/Shipping
  • No signal
  • No signal
  • Positive

Owners

Intent to Prototype url

Intent to Prototype thread

Search tags

SABs, Wasm Threads,

Last updated on 2020-10-25