summaryrefslogtreecommitdiffstats
path: root/toolkit/modules/Sqlite.jsm
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-02 06:57:57 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-02 06:57:57 +0200
commit3442ae7718679a4da8664bdbb561f746e0357203 (patch)
tree5ed661a5998ac91f309bb27cb5ae52dfb4178cca /toolkit/modules/Sqlite.jsm
parent61de1c80cdc6c04e71fde07cc5028af503438134 (diff)
downloadUXP-3442ae7718679a4da8664bdbb561f746e0357203.tar
UXP-3442ae7718679a4da8664bdbb561f746e0357203.tar.gz
UXP-3442ae7718679a4da8664bdbb561f746e0357203.tar.lz
UXP-3442ae7718679a4da8664bdbb561f746e0357203.tar.xz
UXP-3442ae7718679a4da8664bdbb561f746e0357203.zip
Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
Diffstat (limited to 'toolkit/modules/Sqlite.jsm')
-rw-r--r--toolkit/modules/Sqlite.jsm2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/modules/Sqlite.jsm b/toolkit/modules/Sqlite.jsm
index e8d986c0e..6f7a7d94c 100644
--- a/toolkit/modules/Sqlite.jsm
+++ b/toolkit/modules/Sqlite.jsm
@@ -995,7 +995,7 @@ function cloneStorageConnection(options) {
if (!source) {
throw new TypeError("connection not specified in clone options.");
}
- if (!source instanceof Ci.mozIStorageAsyncConnection) {
+ if (!(source instanceof Ci.mozIStorageAsyncConnection)) {
throw new TypeError("Connection must be a valid Storage connection.");
}