mirror of https://github.com/keeweb/keeweb.git
check for WebCrypto during startup
This commit is contained in:
parent
17b5f7bc5f
commit
245662a941
|
@ -36,8 +36,8 @@ const FeatureDetector = {
|
|||
return this.isMac;
|
||||
},
|
||||
ensureCanRun: function() {
|
||||
if (/MSIE |Trident/.test(navigator.userAgent)) {
|
||||
throw 'IE detected';
|
||||
if (!window.crypto) {
|
||||
throw 'WebCrypto not available';
|
||||
}
|
||||
if (!localStorage.length) {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue