Skip to content
Discussion options

You must be logged in to vote

Hi, thanks for the guidance.

I added a DriftWebOptions with an onResult callback and got this in Chrome on Windows:
Using WasmStorageImplementation.sharedIndexedDb due to unsupported browser features: {MissingBrowserFeature.dedicatedWorkersInSharedWorkers, MissingBrowserFeature.sharedArrayBuffers}

Based on that, the issue was that Chrome disabled SharedArrayBuffer because my app wasn’t served with the required cross-origin isolation headers.

The fix was to add these headers in my Nginx config:

add_header Cross-Origin-Opener-Policy "same-origin" always;
add_header Cross-Origin-Embedder-Policy "require-corp" always;
add_header Cross-Origin-Resource-Policy "same-origin" always;

After that, …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Silko5
Comment options

Answer selected by simolus3
@simolus3
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants