From 80357b193857dc8c24fda1214ce82e23320e407c Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 11 Apr 2024 06:08:02 -0400 Subject: [PATCH] CI: Proper disabling of BlockingObserver for #3962 --- chrome/content/zotero/BlockingObserver.jsm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/BlockingObserver.jsm b/chrome/content/zotero/BlockingObserver.jsm index 108f2a37d7..23f3cdc392 100644 --- a/chrome/content/zotero/BlockingObserver.jsm +++ b/chrome/content/zotero/BlockingObserver.jsm @@ -42,8 +42,9 @@ class BlockingObserver { */ constructor({ shouldBlock }) { // TEMP: Disable in CI for now to avoid HTTP request failures + // https://github.com/zotero/zotero/issues/3962 if (Zotero.automatedTest) { - this.shouldBlock = false; + this.shouldBlock = () => false; return; } this.shouldBlock = shouldBlock;