Final lint fixes
This commit is contained in:
parent
2a78aceac6
commit
7f252c75b8
2 changed files with 4 additions and 2 deletions
|
@ -50,6 +50,8 @@ const backgroundLogic = {
|
|||
//We cannot yet access the new cookieStoreId via this.cookieStoreId(...), so we take this from the resolved promise
|
||||
donePromise.then((identity) => {
|
||||
window.proxifiedContainers.set(identity.cookieStoreId, options.proxy);
|
||||
}).catch(() => {
|
||||
//Empty because this should never happen theoretically.
|
||||
});
|
||||
}
|
||||
await donePromise;
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
if (!("toJSON" in Error.prototype))
|
||||
Object.defineProperty(Error.prototype, "toJSON", {
|
||||
value: function() {
|
||||
let alt = {};
|
||||
const alt = {};
|
||||
|
||||
Object.getOwnPropertyNames(this).forEach(function(key) {
|
||||
alt[key] = this[key];
|
||||
}, this);
|
||||
|
||||
|
||||
return alt;
|
||||
},
|
||||
configurable: true,
|
||||
|
|
Loading…
Add table
Reference in a new issue