-
Notifications
You must be signed in to change notification settings - Fork 7
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
localStorage partition - how to access localStorage with third party storage partition rollout #10
Comments
There is a proposal to support localstorage via requestStorageAccess(). See: https://arichiv.github.io/saa-non-cookie-storage/ In the meantime you can use the deprecation trial to get unpartitioned storage access back. https://developer.chrome.com/blog/storage-partitioning-deprecation-trial/ |
Hi @wanderview , Thanks for sharing, but I found that the method proposed in https://arichiv.github.io/saa-non-cookie-storage/ doesn't work (document.requestStorageAccess({all: true});) Any suggestion is welcome. Thank you! |
Its not implemented/shipped yet. |
Gotcha, Thanks @wanderview Is there anything we can do today to resolve the impact of third party storage partition? (let the And when does the Thank you! |
Did you see this part of my reply?
|
I see. Thank you @wanderview Based on the document, i think the answer is
it means Please kindly suggest here. Thank you so much for any help. Appreciate!! |
Correct, RWS still requires requestStorageAccess(). I believe in Chrome the RWS means a prompt will not be shown. |
Good morning @wanderview ! What do you mean by "a prompt will not be shown"? If I disabled the third party cookies (screenshot) When I check the permission in this way
The Can you help me understand what happened? Could you kindly suggest. Thank you in advanced! |
Sorry, I'm not prepared to debug RWS scenarios. I suggest asking on: https://github.com/GoogleChromeLabs/privacy-sandbox-dev-support/discussions |
Sure, I will ask there. Thank you so much for all helps! 🥂 |
Hi @wanderview , One more questions, I'd like to ask is it possible to register the deprecation trial to get unpartitioned storage access back as a short term solution. And once you have shipped the new API We can switch to using the new api as a long term solution. Is it your recommand solution for us? Thank you! |
You can simply stop sending the token in your website when you no longer want your deprecation trial behavior. |
So can someone explain how this DOES NOT BREAK 2 decades of 3rd party Single Sign On providers and most of the WWW? |
Hello,
Our website will break with the third party storage partition rollout, looking for the solution of that.
we have two website: for example
website A called: iframe.com
website B called: web.com
iframe.com is embeded in web.com as an iframe. On the web.com will
postMessage()
to iframe.com. Once iframe.com received the message from web.com, then it will calllocalStroage.setItem('message', messageObject);
to save the content of the message to localStorage.We found that with the third party sotrage partition rollout, the iframe.com can not read the message content which saved by web.com from localStorage anymore. That because, we save the message when we are in web.com, on web.com, we use
postMessage
so that iframe.com can save the message in localStorage.In this case, how can I let iframe.com can read the message on the iframe.com itself, rather than on the web.com.
Does implement first party set can help.
Please kindly suggest solution, and if there is any example, that's would be great.
Thank you in advanced!
The text was updated successfully, but these errors were encountered: