| 2 | |
| 3 | if (typeof globalThis.SharedArrayBuffer === "undefined") { |
| 4 | globalThis.SharedArrayBuffer = class SharedArrayBuffer { |
| 5 | constructor() { |
| 6 | throw new Error( |
| 7 | "SharedArrayBuffer is unavailable because of insufficient security headers. Please ensure that your page is Cross-Origin Isolated (COOP) and that your server sends the following headers: Cross-Origin-Opener-Policy: same-origin; Cross-Origin-Embedder-Policy: require-corp", |
| 8 | ); |
| 9 | } |
| 10 | }; |
| 11 | } |
nothing calls this directly
no outgoing calls
no test coverage detected