The originAgentCluster read-only property of the Window interface returns true if this window belongs to an origin-keyed agent cluster: this means that the operating system has provided dedicated resources (for example an operating system process) to this window's origin that are not shared with windows from other origins.
Otherwise this property returns false.
Windows that are part of an origin-keyed agent cluster are subjects to some additional restrictions, compared with windows that are not. In particular, they cannot:
Document.domain, which is a legacy feature that normally allows same-site cross-origin pages to synchronously access each other's DOM.WebAssembly.Module objects to other same-site cross-origin pages via Window.postMessage().SharedArrayBuffer or WebAssembly.Memory objects to other same-site cross-origin pages.To request that the browser assign this window to an origin-keyed agent cluster, the server must send the Origin-Agent-Cluster response header.
Note that the origin-keyed agent cluster feature is only supported in secure contexts. If a site is not a secure context, the window.originAgentCluster will always return false.
| Specification |
|---|
| HTML> # origin-keyed-agent-clusters> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
originAgentCluster |
90 | 90 | 138 | 76 | No | 90 | 138 | 64 | No | 15.0 | 90 | No |
Origin-Agent-Cluster HTTP response header
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/Window/originAgentCluster