mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-02 21:37:32 +09:00
Fix unsafe "instanceof" negations
https://github.com/MoonchildProductions/Pale-Moon/pull/1173
This commit is contained in:
parent
a073130d31
commit
b56d147095
17 changed files with 19 additions and 28 deletions
|
|
@ -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.");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue