From df3b9fa425ab1975a106cbe5bb12519359227ff6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 11 Apr 2024 05:29:17 -0400 Subject: [PATCH] CI: Temporarily disable BlockingObserver to fix HTTP request failures --- chrome/content/zotero/BlockingObserver.jsm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/content/zotero/BlockingObserver.jsm b/chrome/content/zotero/BlockingObserver.jsm index 99d8b49813..108f2a37d7 100644 --- a/chrome/content/zotero/BlockingObserver.jsm +++ b/chrome/content/zotero/BlockingObserver.jsm @@ -41,6 +41,11 @@ class BlockingObserver { * @param {(uri: nsIURI) => boolean} shouldBlock */ constructor({ shouldBlock }) { + // TEMP: Disable in CI for now to avoid HTTP request failures + if (Zotero.automatedTest) { + this.shouldBlock = false; + return; + } this.shouldBlock = shouldBlock; }