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

Bug in isLocalStorageAvailable function #151

Open
Alfusainey opened this issue Jul 13, 2023 · 0 comments
Open

Bug in isLocalStorageAvailable function #151

Alfusainey opened this issue Jul 13, 2023 · 0 comments

Comments

@Alfusainey
Copy link

There may be a potential bug in the isLocalStorageAvailable function which can result in an "undefined storage in a Blackberry Browser".

Can someone kindly confirm if this is an issue for this project?

Additional info

We encountered this issue while investigating open-source projects to see if they contain code similar to (or reused from) Stack Overflow and whether the code on Stack Overflow underwent any bug/security fixes. We found that the code in the storageAvailable function is similar to the one in the first version of this answer. The issue was subsequently fixed a few months later in the second version (see the commit message of the version), however, the fix is not reflected in this function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant