BlockingObserver: Re-enable in CI
This commit is contained in:
parent
35f5b19ffd
commit
5263c79ea8
2 changed files with 0 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue