HTTP/2 302
x-cloud-trace-context: 955838c2c6b8107ebde1576e6fe02321
location: /en-US/docs/Web/API/WindowOrWorkerGlobalScope/crossOriginIsolated
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
accept-ranges: bytes
cache-control: no-store
server: Google Frontend
content-type: text/plain; charset=utf-8
date: Thu, 25 Dec 2025 18:39:26 GMT
x-served-by: cache-bfi-kbfi7400095-BFI, cache-bfi-kbfi7400092-BFI, cache-sin-wsat1880048-SIN, cache-bom-vanm7210097-BOM
x-cache: MISS, MISS, MISS, MISS
x-cache-hits: 0, 0, 0, 0
x-timer: S1766687966.790009,VS0,VE391
vary: Accept
content-length: 87
HTTP/2 301
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
location: /en-US/docs/Web/API/Window/crossOriginIsolated
content-type: text/plain; charset=utf-8
cache-control: max-age=2592000,public
server: Google Frontend
x-cloud-trace-context: 7706b7a1a604eca6f78428a23c461763
accept-ranges: bytes
age: 182058
date: Thu, 25 Dec 2025 18:39:26 GMT
x-served-by: cache-bfi-krnt7300040-BFI, cache-bfi-krnt7300073-BFI, cache-sin-wsss1830028-SIN, cache-bom-vanm7210097-BOM
x-cache: MISS, MISS, HIT, MISS
x-cache-hits: 0, 0, 1, 0
x-timer: S1766687966.194212,VS0,VE51
vary: Accept
content-length: 80
HTTP/2 200
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish
x-goog-stored-content-length: 166162
server: Google Frontend
content-type: text/html
x-goog-generation: 1766624774675656
x-guploader-uploadid: AHVrFxPML0Re_8cBjND08o3FDHKDoSztHk6d5eON_b_0aW7GL0TL1N8OlBQ8RkEpvg1ccR8gxpNCBgA
cache-control: public, max-age=3600
x-frame-options: DENY
x-goog-storage-class: STANDARD
etag: "6dd5ae445db8ebef8e6868a31b3f5e53"
strict-transport-security: max-age=63072000
x-goog-hash: crc32c=bfz8Pg==, md5=bdWuRF246++OaGijGz9eUw==
content-security-policy: default-src 'self'; script-src 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; script-src-elem 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; style-src 'report-sample' 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self' developer.allizom.org bcd.developer.allizom.org bcd.developer.mozilla.org updates.developer.allizom.org updates.developer.mozilla.org https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://incoming.telemetry.mozilla.org https://observatory-api.mdn.allizom.net https://observatory-api.mdn.mozilla.net https://api.github.com/search/issues stats.g.doubleclick.net https://api.stripe.com; font-src 'self'; frame-src 'self' mdn.github.io *.mdnplay.dev *.mdnyalp.dev *.play.test.mdn.allizom.net https://v2.scrimba.com https://scrimba.com jsfiddle.net www.youtube-nocookie.com codepen.io survey.alchemer.com https://js.stripe.com; img-src 'self' data: *.githubusercontent.com *.googleusercontent.com *.gravatar.com mozillausercontent.com firefoxusercontent.com profile.stage.mozaws.net profile.accounts.firefox.com developer.mozilla.org mdn.dev wikipedia.org upload.wikimedia.org https://mdn.github.io/shared-assets/ https://mdn.dev/ https://*.google-analytics.com https://*.googletagmanager.com www.gstatic.com; manifest-src 'self'; media-src 'self' archive.org videos.cdn.mozilla.net https://mdn.github.io/shared-assets/; child-src 'self'; worker-src 'self';
x-goog-meta-goog-reserved-file-mtime: 1766623440
x-goog-stored-content-encoding: identity
x-cloud-trace-context: d76dd9a5af61d21162af4e3b9b3288a5;o=1
last-modified: Thu, 25 Dec 2025 01:06:14 GMT
expires: Thu, 25 Dec 2025 19:04:36 GMT
referrer-policy: strict-origin-when-cross-origin
x-content-type-options: nosniff
x-goog-metageneration: 1
origin-trial: AxVILwizhbMjxFeHOn1P3R8niO1RJY/smaK4B4d1rLzc1gTaxtXMSaTi+FoigYgCw40uFRDwFcEAeqDR+vVLOW4AAABfeyJvcmlnaW4iOiJodHRwczovL2RldmVsb3Blci5tb3ppbGxhLm9yZyIsImZlYXR1cmUiOiJQcml2YXRlQXR0cmlidXRpb25WMiIsImV4cGlyeSI6MTc0MjA3OTYwMH0=
content-encoding: gzip
accept-ranges: bytes
age: 2089
date: Thu, 25 Dec 2025 18:39:26 GMT
x-served-by: cache-sin-wsat1880091-SIN, cache-sin-wsat1880091-SIN, cache-bom-vanm7210097-BOM
x-cache: MISS, HIT, MISS
x-cache-hits: 0, 1, 0
x-timer: S1766687966.258875,VS0,VE53
vary: Accept-Encoding
content-length: 21420
Window: crossOriginIsolated property - Web APIs | MDN
To cross-origin isolate a document:
Set the Cross-Origin-Opener-Policy HTTP header to same-origin:
Cross-Origin-Opener-Policy: same-origin
Set the Cross-Origin-Embedder-Policy HTTP header to require-corp or credentialless:
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Embedder-Policy: credentialless
The cross-origin-isolated directive of the Permissions-Policy header must not block access to the feature.
Note that the default allowlist of the directive is self, so the permission will be granted by default to cross-origin isolated documents.
const myWorker = new Worker("worker.js");
if (window.crossOriginIsolated) {
const buffer = new SharedArrayBuffer(16);
myWorker.postMessage(buffer);
} else {
const buffer = new ArrayBuffer(16);
myWorker.postMessage(buffer);
}
Enable JavaScript to view this browser compatibility table.