mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-04-21 04:34:03 +02:00
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.
This commit is contained in:
parent
ca85d73335
commit
de9f139963
@ -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,
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user