Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharedArrayBuffer usage is restricted to cross-origin isolated sites #14757

Closed
Frikki opened this issue Apr 29, 2021 · 2 comments
Closed

SharedArrayBuffer usage is restricted to cross-origin isolated sites #14757

Frikki opened this issue Apr 29, 2021 · 2 comments

Comments

@Frikki
Copy link

Frikki commented Apr 29, 2021

What's the problem?
When running storybook (only in dev, not build), the following warning is presented in the console in Chrome Version 90.0.4430.85 (Official Build) (x86_64):

SharedArrayBuffer usage is restricted to cross-origin isolated sites
SharedArrayBuffers (SABs) can be used to construct high-resolution timers. High-resolution timers simplify Spectre attacks on cross-origin resources.
To mitigate security risks across browsers, SharedArrayBuffers are gated behind cross-origin isolated contexts starting with Chrome 91 (May 2021). To continue using SharedArrayBuffers, please ensure that this page opts-into cross-origin isolation by setting Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy appropriately.
Note that for each iframe, only the first issue is reported for performance reasons.

Additional context
The warning comes from React and has been resolved in React 17.0.2

Since storybook depends on React, I believe that this issue is relevant.

@sibelius
Copy link

is this fixed?

@shilman shilman removed the P1 label Oct 18, 2022
@shilman
Copy link
Member

shilman commented Jun 8, 2023

We’re cleaning house! Storybook has changed a lot since this issue was created and we don’t know if it’s still valid. Please open a new issue referencing this one if:

@shilman shilman closed this as not planned Won't fix, can't repro, duplicate, stale Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants