Skip to content

Conversation

@sisou
Copy link
Member

@sisou sisou commented Oct 22, 2020

This PR enables proper handling of blocked storage access for localStorage and sessionStorage in browsers with increased privacy settings or some private browsing modes.

Currently the Keyguard throws a Key not found error from the iframe, after the user already entered their password.

This PR makes it so the Keyguard simply ignores blocked access to storage if not necessary for the Keyguard to function (TabWidthSelector, RpcServer), but fails with a new BrowserError type when it is required, as during import when we want to temporarily store the seed in sessionStorage so that we can derive all addresses during discovery in the Hub.

@sisou sisou added the enhancement New feature or request label Oct 22, 2020
@sisou sisou requested review from danimoh, mraveux and nibhar October 22, 2020 08:15
@sisou sisou self-assigned this Oct 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants