Run notebook cross-origin isolated?

Is it possible to run an Observable notebook in cross-origin isolated mode?

I’d like to know if it’s possible to use features only available in this mode, such as SharedArrayBuffer, in Observable. For example, here’s an attempt to use the MotherDuck WASM Client, which requires SharedArrayBuffer.

(Apologies if this is covered elsewhere. I searched but did not find the answer.)

1 Like

As far as I’m aware Observable’s sandbox architecture makes it impossible. There’s a related issue in our feedback repo:

I was afraid that might be the case. Thanks for the pointer.

In the unlikely event that a workaround or alternative is discovered, I’d be curious to learn about it.