crossOriginIsolated property
bool
get
crossOriginIsolated
The crossOriginIsolated read-only property of the Window interface
returns a boolean value that
indicates whether the website is in a cross-origin isolation state. That
state mitigates the risk of side-channel attacks and unlocks a few
capabilities:
SharedArrayBuffercan be created and sent via a Window.postMessage or a MessagePort.postMessage call.- Performance.now offers better precision.
Performance.measureUserAgentSpecificMemorycan be accessed.
A website is in a cross-origin isolated state, when the response header
has the value same-origin and the header has the value require-corp
or credentialless.
Implementation
external bool get crossOriginIsolated;