From bc891538b3d70a6b47322bb2344d4998445f98e2 Mon Sep 17 00:00:00 2001 From: Abe Jellinek <1770299+AbeJellinek@users.noreply.github.com> Date: Thu, 26 Mar 2026 09:42:43 -0400 Subject: [PATCH] _cookieSandbox -> _unused --- chrome/content/zotero/xpcom/http.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index ec3f719ebc..e177263bb7 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -733,16 +733,17 @@ Zotero.HTTP = new function () { /** * Send an HTTP GET request via XMLHTTPRequest - * - * @param {nsIURI|String} url URL to request - * @param {Function} onDone Callback to be executed upon request completion - * @param {String} responseCharset Character set to force on the response + * + * @param {nsIURI|String} url URL to request + * @param {Function} onDone Callback to be executed upon request completion + * @param {String} responseCharset Character set to force on the response + * @param _unused Removed * @param {Object} requestHeaders HTTP headers to include with request * @return {XMLHttpRequest} The XMLHttpRequest object if the request was sent, or * false if the browser is offline * @deprecated Use {@link Zotero.HTTP.request} */ - this.doGet = function (url, onDone, responseCharset, _cookieSandbox, requestHeaders) { + this.doGet = function (url, onDone, responseCharset, _unused, requestHeaders) { if (url instanceof Components.interfaces.nsIURI) { // Don't display password in console var disp = this.getDisplayURI(url);