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
|
//We cannot yet access the new cookieStoreId via this.cookieStoreId(...), so we take this from the resolved promise
|
||||||
donePromise.then((identity) => {
|
donePromise.then((identity) => {
|
||||||
window.proxifiedContainers.set(identity.cookieStoreId, options.proxy);
|
window.proxifiedContainers.set(identity.cookieStoreId, options.proxy);
|
||||||
|
}).catch(() => {
|
||||||
|
//Empty because this should never happen theoretically.
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
await donePromise;
|
await donePromise;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
if (!("toJSON" in Error.prototype))
|
if (!("toJSON" in Error.prototype))
|
||||||
Object.defineProperty(Error.prototype, "toJSON", {
|
Object.defineProperty(Error.prototype, "toJSON", {
|
||||||
value: function() {
|
value: function() {
|
||||||
let alt = {};
|
const alt = {};
|
||||||
|
|
||||||
Object.getOwnPropertyNames(this).forEach(function(key) {
|
Object.getOwnPropertyNames(this).forEach(function(key) {
|
||||||
alt[key] = this[key];
|
alt[key] = this[key];
|
||||||
|
|
Loading…
Add table
Reference in a new issue