Files
sousa-gecko/browser/modules/moz.build
T
Sam Foster 48d2e61878 Bug 2031718 - Implement menu section and item ordering layer and add an alternative tab context menu layout. r=tabbrowser-reviewers,fluent-reviewers,echa,flod,sclements
* Define a new pref browser.tabs.contextmenu.altstructure.enabled to allow opt-in to a reorganized tab context menu
* Add menu layout data for current and alternate menu structures
* Refactoring in GenAI.sys.mjs to allow creating a single menu item for Summarize vs. the sub-menu
* New test and promote one of the openTabContextMenu implementations to head.js (and remove the duplicates)
* Add the nimbus feature and variable in FeatureManifest.yaml
* Add comments to a couple of context menu strings to clarify their use

Differential Revision: https://phabricator.services.mozilla.com/D307151
2026-07-07 16:34:53 +00:00

169 lines
5.0 KiB
INI

# This Source Code Form is subject to the terms of the Mozilla Public
# 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/.
with Files("**"):
BUG_COMPONENT = ("Firefox", "General")
with Files("FirefoxBridgeExtensionUtils.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Shell Integration")
with Files("test/unit/test_FirefoxBridgeExtensionUtils.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Shell Integration")
with Files("test/browser/*Telemetry*"):
BUG_COMPONENT = ("Toolkit", "Telemetry")
with Files("test/browser/*ContentSearch*"):
BUG_COMPONENT = ("Firefox", "Search")
with Files("test/browser/*PermissionUI*"):
BUG_COMPONENT = ("Firefox", "Site Permissions")
with Files("test/browser/*SitePermissions*"):
BUG_COMPONENT = ("Firefox", "Site Permissions")
with Files("test/browser/browser_UnsubmittedCrashHandler.js"):
BUG_COMPONENT = ("Toolkit", "Crash Reporting")
with Files("test/browser/browser_taskbar_preview.js"):
BUG_COMPONENT = ("Firefox", "Shell Integration")
with Files("test/browser/browser_urlBar_zoom.js"):
BUG_COMPONENT = ("Firefox", "General")
with Files("test/unit/test_E10SUtils_nested_URIs.js"):
BUG_COMPONENT = ("Core", "Security: Process Sandboxing")
with Files("test/unit/test_LaterRun.js"):
BUG_COMPONENT = ("Firefox", "Tours")
with Files("test/unit/test_SitePermissions.js"):
BUG_COMPONENT = ("Firefox", "Site Permissions")
with Files("AboutNewTab.sys.mjs"):
BUG_COMPONENT = ("Firefox", "New Tab Page")
with Files("BrowserWindowTracker.sys.mjs"):
BUG_COMPONENT = ("Firefox", "General")
with Files("BrowserUsageTelemetry.sys.mjs"):
BUG_COMPONENT = ("Firefox", "General")
with Files("ContentCrashHandlers.sys.mjs"):
BUG_COMPONENT = ("Toolkit", "Crash Reporting")
with Files("EveryWindow.sys.mjs"):
BUG_COMPONENT = ("Firefox", "General")
with Files("ExtensionsUI.sys.mjs"):
BUG_COMPONENT = ("WebExtensions", "General")
with Files("LaterRun.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Tours")
with Files("PartnerLinkAttribution.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Search")
with Files("PermissionUI.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Site Permissions")
with Files("ProcessHangMonitor.sys.mjs"):
BUG_COMPONENT = ("Core", "DOM: Content Processes")
with Files("Sanitizer.sys.mjs"):
BUG_COMPONENT = ("Toolkit", "Data Sanitization")
with Files("SelectionChangedMenulist.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Settings UI")
with Files("SiteDataManager.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Settings UI")
with Files("SitePermissions.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Site Permissions")
with Files("TransientPrefs.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Settings UI")
with Files("FilePickerCrashed.sys.mjs"):
BUG_COMPONENT = ("Core", "Widget: Win32")
SCHEDULES.exclusive = ["windows"]
with Files("WindowsJumpLists.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Shell Integration")
SCHEDULES.exclusive = ["windows"]
with Files("WindowsPreviewPerTab.sys.mjs"):
BUG_COMPONENT = ("Core", "Widget: Win32")
SCHEDULES.exclusive = ["windows"]
with Files("webrtcUI.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Site Permissions")
with Files("ZoomUI.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Toolbars and Customization")
BROWSER_CHROME_MANIFESTS += [
"test/browser/browser.toml",
"test/browser/browserSidebarRevamp.toml",
"test/browser/formValidation/browser.toml",
]
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
EXTRA_JS_MODULES += [
"AboutNewTab.sys.mjs",
"BrowserDOMWindow.sys.mjs",
"BrowserUIUtils.sys.mjs",
"BrowserUsageTelemetry.sys.mjs",
"BrowserWindowTracker.sys.mjs",
"ContentCrashHandlers.sys.mjs",
"Dedupe.sys.mjs",
"Discovery.sys.mjs",
"EveryWindow.sys.mjs",
"ExtensionsUI.sys.mjs",
"FaviconLoader.sys.mjs",
"FilterAdult.sys.mjs",
"FirefoxBridgeExtensionUtils.sys.mjs",
"HomePage.sys.mjs",
"LaterRun.sys.mjs",
"LinksCache.sys.mjs",
"MenuSectionLayout.sys.mjs",
"PageActions.sys.mjs",
"PartnerLinkAttribution.sys.mjs",
"PermissionPromptTargeting.sys.mjs",
"PermissionUI.sys.mjs",
"PopupAndRedirectBlockerObserver.sys.mjs",
"ProcessHangMonitor.sys.mjs",
"ReducedProtectionNotification.sys.mjs",
"Sanitizer.sys.mjs",
"SelectionChangedMenulist.sys.mjs",
"SharingUtils.sys.mjs",
"SiteDataManager.sys.mjs",
"SitePermissions.sys.mjs",
"TransientPrefs.sys.mjs",
"UpdatePolicyEnforcer.sys.mjs",
"URILoadingHelper.sys.mjs",
"webrtcUI.sys.mjs",
"ZoomUI.sys.mjs",
]
MOZ_SRC_FILES += [
"CanvasPermissionPromptHelper.sys.mjs",
"ContextId.sys.mjs",
"ObserverForwarder.sys.mjs",
"PrivateBrowsingUI.sys.mjs",
]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
EXTRA_JS_MODULES += [
"FilePickerCrashed.sys.mjs",
"WindowsJumpLists.sys.mjs",
"WindowsPreviewPerTab.sys.mjs",
]
EXTRA_JS_MODULES.backgroundtasks += [
"BackgroundTask_install.sys.mjs",
"BackgroundTask_uninstall.sys.mjs",
]