henry pushed to branch mullvad-browser-147.0a1-16.0-2 at The Tor Project / Applications / Mullvad Browser Commits: 0424317b by henry at 2026-01-29T14:15:10+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 <henry@torproject.org> - - - - - 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/mullvad-browser/-/commit/0424... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/mullvad-browser/-/commit/0424... You're receiving this email because of your account on gitlab.torproject.org.
participants (1)
-
henry (@henry)