From ea3f14f19505a1bfb5c1befc8f308c258e318993 Mon Sep 17 00:00:00 2001 From: Abe Jellinek Date: Thu, 21 Aug 2025 12:19:52 -0400 Subject: [PATCH] HiddenBrowser: Lint --- chrome/content/zotero/HiddenBrowser.mjs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/HiddenBrowser.mjs b/chrome/content/zotero/HiddenBrowser.mjs index cc97f02e3b..aa8d9b8084 100644 --- a/chrome/content/zotero/HiddenBrowser.mjs +++ b/chrome/content/zotero/HiddenBrowser.mjs @@ -120,7 +120,6 @@ export class HiddenBrowser { } /** - * * @param {String} source - HTTP URL, file: URL, or file path * @param {Object} [options] * @param {Boolean} [options.requireSuccessfulStatus] @@ -225,7 +224,7 @@ export class HiddenBrowser { let response = `${channelInfo.responseStatus} ${channelInfo.responseStatusText}`; Zotero.debug(`HiddenBrowser.load: ${uri} failed with ${response}`, 2); // HiddenBrowser will never get returned so we need to clean it up here - this.destroy() + this.destroy(); throw new Zotero.HTTP.UnexpectedStatusException( { status: channelInfo.responseStatus @@ -235,6 +234,8 @@ export class HiddenBrowser { ); } } + + return true; } /**