-
Notifications
You must be signed in to change notification settings - Fork 24
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
Clarify browser specific divergence with requestStorageAccess #172
Comments
Safari's behavior is intentional. We want there to be a signal that the end user is interested in using the widget and we don't think that automatically transfers to subsequent visits. |
Thank you for confirming! While I believe this introduces prompt fatigue for users and the trade-off here hurts UX I understand that this is a browser specific decision. Closing this, will follow up separately for my doubt related to Firefox. |
There will not be prompt fatigue since once the user opts in, the browser remembers that. Subsequent grants only requires a user gesture in the iframe, no prompts. If you test this, it’s easy to see. Please file a WebKit bug if it’s not working as expected. It’s always better to test than to make theoretical predictions. |
Apologies for the phrasing there, what I meant was we'd still require a user gesture to While the browser wouldn't prompt on calling This puts pressure on the UX since the user has to do this on every new tab to use the embedded widget. |
We're seeing some differences across browsers with
requestStorageAccess
and storage access, and wanted to clarify if these are bugs or expected behaviours:Currently in Safari
requestStorageAccess
needs be called on user-interaction for new tabs even if the user has granted access previously. This isn't the case in Firefox. The need for user-activation forrequestStorageAccess
for every new tab leads to poor UX especially for embedded widgets which rely on cookie access for authentication.In Firefox, after granting storage access with
requestStorageAccess
, cookies are still partitioned for the embedded frame.The text was updated successfully, but these errors were encountered: