-
-
Notifications
You must be signed in to change notification settings - Fork 63
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
Chrome extension doesn't work when third-party cookies are blocked #284
Comments
Hi @SebastienWae thanks for reaching us :). You're right, I think that we could simply check the |
We've fixed it in the current develop version. The chrome extension in the store will be updated asap. |
Hi ! It seems the chrome extension in the store is still not updated (latest release is from July). Can you eventually push a newer release ? It is frustrating to have a painful bug fixed but not deployed |
Sorry, this slipped my mind. I've submitted the new version to the Chrome store, and we're waiting for review by the Chrome team. Usually, this will happen in just a few days. I don't know how the holidays will affect this, but please ping me here if the update isn't available in a few days. |
The extension has been published! 🎉 Please let me know if the problem persists. |
Problem fixed, thanks a lot 🙏 |
Bug Report 🐛
When third-party cookies are blocked in Chrome the main "Testing Playground" tab for the
testing-playground
extension doesn't work.The tab is empty and the console return the error:
Uncaught DOMException: Failed to read the 'localStorage' property from 'Window': Access is denied for this document
To Reproduce ✔️
testing-playground
extension in Chromechrome://settings/cookies
Expected behavior 🤔
The extension should try to work without
localStorage
if possible and display an error message informing the user to enable third-party cookies if required.Suggested solution 🔦
Looking at issues from other extensions (like bvaughn/react-devtools-experimental#292) the only solution is to wrap all calls to
localStorage
orsessionStorage
in atry/catch
.Your Environment 💻
The text was updated successfully, but these errors were encountered: