astefanutti / kubebox

⎈❏ Terminal and Web console for Kubernetes
http://astefanutti.github.io/kubebox
MIT License
2.14k stars 142 forks source link

Bug in isLocalStorageAvailable function #151

Open Alfusainey opened 11 months ago

Alfusainey commented 11 months ago

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.