AzureAD / azure-activedirectory-library-for-js

The code for ADAL.js and ADAL Angular has been moved to the MSAL.js repo. Please open any issues or PRs at the link below.
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/maintenance/adal-angular
Apache License 2.0
627 stars 374 forks source link

Cache the values of _supportsLocalStorage and _supportsSessionStorage #786

Closed maciek-codes closed 5 years ago

maciek-codes commented 6 years ago

Cache the values of AuthenticationContext.prototype._supportsLocalStorage and AuthenticationContext.prototype._supportsSessionStorage to avoid performance pressure on the browser's local storage APIs.