It turns out due to how we construct the initial seed message for child windows, we can pass the SharedArrayBuffer containing the XRState by direct reference. This means it can be a pure ArrayBuffer.
Making the switch removes all reference of SharedArrayBuffer in the codebase so it should work in environments that blocked SharedArrayBuffer.
It turns out due to how we construct the initial seed message for child windows, we can pass the
SharedArrayBuffer
containing theXRState
by direct reference. This means it can be a pureArrayBuffer
.Making the switch removes all reference of
SharedArrayBuffer
in the codebase so it should work in environments that blockedSharedArrayBuffer
.Fixes https://github.com/exokitxr/exokit-web/issues/43.