From de9f13996373c0028b8d9a6216aa25fcc397c9cf Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Sat, 4 Apr 2026 20:05:00 +0200 Subject: [PATCH] Replace individual AI/ML disabling preferences with the single killswitch preference in the tests Firefox 148 shipped with a single killswitch to disable current and future AI/ML functionality. This can be controlled in the GUI via `Settings -> AI Controls -> Block AI enhancements`, but can also be controlled programmatically via the `browser.ai.control.default` preference. This commit uses this single preference to replace the multiple preferences we had to use for this purpose before. Extends 844681a. --- test/test.mjs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/test.mjs b/test/test.mjs index 7647fe27e..e978eeadf 100644 --- a/test/test.mjs +++ b/test/test.mjs @@ -928,11 +928,7 @@ async function startBrowser({ // Disable logging for remote settings. "services.settings.loglevel": "off", // Disable AI/ML functionality. - "browser.ml.enable": false, - "browser.ml.chat.enabled": false, - "browser.ml.linkPreview.enabled": false, - "browser.tabs.groups.smart.enabled": false, - "browser.tabs.groups.smart.userEnabled": false, + "browser.ai.control.default": "blocked", "privacy.baselineFingerprintingProtection": false, ...extraPrefsFirefox, };