diff --git a/chrome/content/zotero/BlockingObserver.jsm b/chrome/content/zotero/BlockingObserver.jsm index 5789ab9e42..a5c38c9fb1 100644 --- a/chrome/content/zotero/BlockingObserver.jsm +++ b/chrome/content/zotero/BlockingObserver.jsm @@ -41,12 +41,6 @@ class BlockingObserver { * @param {(uri: nsIURI) => boolean} shouldBlock */ 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; - return; - } this.shouldBlock = shouldBlock; } diff --git a/test/tests/HiddenBrowserTest.js b/test/tests/HiddenBrowserTest.js index fa494a8c97..8e37a2fde4 100644 --- a/test/tests/HiddenBrowserTest.js +++ b/test/tests/HiddenBrowserTest.js @@ -43,10 +43,6 @@ describe("HiddenBrowser", function() { }); it("should prevent a remote request with blockRemoteResources", async function () { - // TEMP: Disable in CI for now to avoid HTTP request failures - // https://github.com/zotero/zotero/issues/3962 - if (Zotero.automatedTest) this.skip(); - let path = OS.Path.join(getTestDataDirectory().path, 'test-hidden.html'); let browser = new HiddenBrowser({ blockRemoteResources: true }); await browser.load(path);