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


Commits:
f46009c2 by henry at 2026-01-29T14:13:17+00:00
fixup! BB 44045: Disable ML features.

TB 44554: Hide the GenAI menu item.


(cherry picked from commit b73b33798b1ba01dc94e4fc75bed57f47ff49968)

Co-authored-by: Henry Wilkes <[email protected]>
- - - - -


2 changed files:

- browser/base/content/main-popupset.inc.xhtml
- browser/components/tabbrowser/content/tabbrowser.js


Changes:

=====================================
browser/base/content/main-popupset.inc.xhtml
=====================================
@@ -62,8 +62,9 @@
     <menuitem id="context_duplicateTab" data-lazy-l10n-id="duplicate-tab"/>
     <menuitem id="context_duplicateTabs" data-lazy-l10n-id="duplicate-tabs"/>
     <menuseparator/>
-    <menu id="context_askChat"/>
-    <menuseparator/>
+    <!-- Hide the GenAI menu. tor-browser#44554. -->
+    <menu id="context_askChat" hidden="true"/>
+    <menuseparator hidden="true"/>
     <menuitem id="context_bookmarkSelectedTabs"
               hidden="true"
               data-lazy-l10n-id="bookmark-selected-tabs"/>


=====================================
browser/components/tabbrowser/content/tabbrowser.js
=====================================
@@ -9813,10 +9813,7 @@ var TabContextMenu = {
       !this.contextTab.pinned || !this.multiselected;
 
     // Build Ask Chat items
-    TabContextMenu.GenAI.buildTabMenu(
-      document.getElementById("context_askChat"),
-      this
-    );
+    // GenAI is missing. tor-browser#44045.
 
     // Move Tab items
     let contextMoveTabOptions = document.getElementById(
@@ -10289,6 +10286,6 @@ var TabContextMenu = {
 };
 
 ChromeUtils.defineESModuleGetters(TabContextMenu, {
-  GenAI: "resource:///modules/GenAI.sys.mjs",
+  // GenAI.sys.mjs is missing. tor-browser#44045.
   TabNotes: "moz-src:///browser/components/tabnotes/TabNotes.sys.mjs",
 });



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

-- 
View it on GitLab: 
https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/f46009c2b00eab6e65064a11f600eb8f6698cf7b
You're receiving this email because of your account on gitlab.torproject.org.


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

Reply via email to