summaryrefslogtreecommitdiffstats
path: root/services/fxaccounts/FxAccountsStorage.jsm
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-05-02 16:23:14 +0200
committerGitHub <noreply@github.com>2018-05-02 16:23:14 +0200
commit04c8f8f8bc2d2dccb6675bd1ed9912f098e76739 (patch)
tree7d78110b55ac5d72eb9f15584ec18afbb5948670 /services/fxaccounts/FxAccountsStorage.jsm
parent832046aeb726dee290d2827a20d571034b6bc64a (diff)
parent3442ae7718679a4da8664bdbb561f746e0357203 (diff)
downloadUXP-04c8f8f8bc2d2dccb6675bd1ed9912f098e76739.tar
UXP-04c8f8f8bc2d2dccb6675bd1ed9912f098e76739.tar.gz
UXP-04c8f8f8bc2d2dccb6675bd1ed9912f098e76739.tar.lz
UXP-04c8f8f8bc2d2dccb6675bd1ed9912f098e76739.tar.xz
UXP-04c8f8f8bc2d2dccb6675bd1ed9912f098e76739.zip
Merge pull request #320 from janekptacijarabaci/instanceof_negations_1
palemoon#1173: Fix unsafe "instanceof" negations
Diffstat (limited to 'services/fxaccounts/FxAccountsStorage.jsm')
-rw-r--r--services/fxaccounts/FxAccountsStorage.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/fxaccounts/FxAccountsStorage.jsm b/services/fxaccounts/FxAccountsStorage.jsm
index 021763b92..43e2d21a0 100644
--- a/services/fxaccounts/FxAccountsStorage.jsm
+++ b/services/fxaccounts/FxAccountsStorage.jsm
@@ -403,7 +403,7 @@ this.FxAccountsStorageManager.prototype = {
try {
yield this.secureStorage.set(this.cachedPlain.uid, toWriteSecure);
} catch (ex) {
- if (!ex instanceof this.secureStorage.STORAGE_LOCKED) {
+ if (!(ex instanceof this.secureStorage.STORAGE_LOCKED)) {
throw ex;
}
// This shouldn't be possible as once it is unlocked it can't be