diff --git a/src/node/Launcher.ts b/src/node/Launcher.ts index 4140ce81..4f92a88c 100644 --- a/src/node/Launcher.ts +++ b/src/node/Launcher.ts @@ -519,7 +519,7 @@ class FirefoxLauncher implements ProductLauncher { // https://bugzilla.mozilla.org/show_bug.cgi?id=1543115 'browser.dom.window.dump.enabled': true, // Disable topstories - 'browser.newtabpage.activity-stream.feeds.section.topstories': false, + 'browser.newtabpage.activity-stream.feeds.system.topstories': false, // Always display a blank page 'browser.newtabpage.enabled': false, // Background thumbnails in particular cause grief: and disabling @@ -566,16 +566,15 @@ class FirefoxLauncher implements ProductLauncher { // Do not warn on quitting Firefox 'browser.warnOnQuit': false, - // Do not show datareporting policy notifications which can - // interfere with tests - 'datareporting.healthreport.about.reportUrl': `http://${server}/dummy/abouthealthreport/`, + // Defensively disable data reporting systems 'datareporting.healthreport.documentServerURI': `http://${server}/dummy/healthreport/`, 'datareporting.healthreport.logging.consoleEnabled': false, 'datareporting.healthreport.service.enabled': false, 'datareporting.healthreport.service.firstRun': false, 'datareporting.healthreport.uploadEnabled': false, + + // Do not show datareporting policy notifications which can interfere with tests 'datareporting.policy.dataSubmissionEnabled': false, - 'datareporting.policy.dataSubmissionPolicyAccepted': false, 'datareporting.policy.dataSubmissionPolicyBypassNotification': true, // DevTools JSONViewer sometimes fails to load dependencies with its require.js. @@ -688,8 +687,6 @@ class FirefoxLauncher implements ProductLauncher { // Disable browser animations (tabs, fullscreen, sliding alerts) 'toolkit.cosmeticAnimations.enabled': false, - // We want to collect telemetry, but we don't want to send in the results - 'toolkit.telemetry.server': `https://${server}/dummy/telemetry/`, // Prevent starting into safe mode after application crashes 'toolkit.startup.max_resumed_crashes': -1, }; diff --git a/test/waittask.spec.ts b/test/waittask.spec.ts index c41b1d47..36ae164d 100644 --- a/test/waittask.spec.ts +++ b/test/waittask.spec.ts @@ -129,18 +129,15 @@ describe('waittask specs', function () { await page.evaluate(() => (globalThis.__FOO = 1)); await watchdog; }); - itFailsFirefox( - 'should work when resolved right before execution context disposal', - async () => { - const { page } = getTestState(); + it('should work when resolved right before execution context disposal', async () => { + const { page } = getTestState(); - await page.evaluateOnNewDocument(() => (globalThis.__RELOADED = true)); - await page.waitForFunction(() => { - if (!globalThis.__RELOADED) window.location.reload(); - return true; - }); - } - ); + await page.evaluateOnNewDocument(() => (globalThis.__RELOADED = true)); + await page.waitForFunction(() => { + if (!globalThis.__RELOADED) window.location.reload(); + return true; + }); + }); it('should poll on interval', async () => { const { page } = getTestState();