henry pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / 
Applications / Tor Browser


Commits:
db4c2720 by Henry Wilkes at 2026-03-24T18:12:59+00:00
fixup! BB 44045: Disable ML features.

TB 44780: Drop AIFeature dependency for TranslationsFeature.

The AIFeature.sys.mjs is not in the build.

- - - - -


1 changed file:

- toolkit/components/translations/TranslationsFeature.sys.mjs


Changes:

=====================================
toolkit/components/translations/TranslationsFeature.sys.mjs
=====================================
@@ -2,7 +2,7 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
-import { AIFeature } from "chrome://global/content/ml/AIFeature.sys.mjs";
+// AIFeature.sys.mjs is not available. tor-browser#44780.
 import { XPCOMUtils } from "resource://gre/modules/XPCOMUtils.sys.mjs";
 
 /**
@@ -45,7 +45,10 @@ XPCOMUtils.defineLazyPreferenceGetter(
 /**
  * AIFeature implementation for translations.
  */
-export class TranslationsFeature extends AIFeature {
+// NOTE: The AIFeature class is not available.
+// At the time of implementation, TranslationsFeature overwrites the entire
+// AIFeature class so we can drop the `extends AIFeature`. tor-browser#44780.
+export class TranslationsFeature {
   /**
    * Feature identifier for translations.
    *



View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/db4c27205e2ff5a40cc18bda441e66f61326cab1

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/db4c27205e2ff5a40cc18bda441e66f61326cab1
You're receiving this email because of your account on gitlab.torproject.org. 
Manage all notifications: https://gitlab.torproject.org/-/profile/notifications 
| Help: https://gitlab.torproject.org/help


_______________________________________________
tbb-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to