Files
mimi 68b523fa01 Bug 1901533 - Moves Refresh Firefox Infobar into Messaging System r=firefox-desktop-core-reviewers ,fluent-reviewers,omc-reviewers,bolsson,mossop,sachung
Scope of this patch is to pull the refresh (unused and reinstall) firefox infobar into messaging system.

The infobars are now idle dispatched through the defaultBrowserCheck trigger (previously `onFirstWindowLoaded`), and will respect [activeNotifications](https://searchfox.org/firefox-main/source/browser/components/asrouter/modules/ASRouterTargeting.sys.mjs#1125)

 See screenshots below:

{F79391908}

{F79391907}

{F79391906}

[try run](https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=88932)

Differential Revision: https://phabricator.services.mozilla.com/D323372
2026-09-11 02:52:54 +00:00

150 lines
3.3 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("distribution.sys.mjs"):
BUG_COMPONENT = ("Firefox", "Distributions")
with Files("tests/**"):
BUG_COMPONENT = ("Firefox", "General")
with Files("tests/browser/browser_contentpermissionprompt.js"):
BUG_COMPONENT = ("Firefox", "Site Permissions")
with Files("tests/unit/test_distribution.js"):
BUG_COMPONENT = ("Firefox", "Distributions")
with Files("safebrowsing/**"):
BUG_COMPONENT = ("Toolkit", "Safe Browsing")
with Files("controlcenter/**"):
BUG_COMPONENT = ("Firefox", "General")
DIRS += [
"about",
"aboutlogins",
"aboutwelcome",
"aiwindow",
"asrouter",
"attribution",
"backup",
"contentanalysis",
"contextualidentity",
"controlcenter",
"customizableui",
"customkeys",
"downloads",
"enterprisepolicies",
"extensions",
"firefoxview",
"genai",
"ipprotection",
"messagepreview",
"migration",
"mozcachedohttp",
"multilineeditor",
"newtab",
"originattributes",
"pagedata",
"passwordmgr",
"permissions",
"pictureinpicture",
"places",
"preferences",
"privatebrowsing",
"prompts",
"protections",
"protocolhandler",
"qrcode",
"referrals",
"remotecontrol",
"reportbrokensite",
"resistfingerprinting",
"screenshots",
"search",
"sessionstore",
"sharing",
"shell",
"sidebar",
"syncedtabs",
"tabbrowser",
"tabnotes",
"tabunloader",
"taskbartabs",
"textrecognition",
"topsites",
"translations",
"uitour",
"urlbar",
"webrtc",
]
DIRS += ["build"]
if CONFIG["MOZ_SELECTABLE_PROFILES"]:
DIRS += ["profiles"]
if CONFIG["MOZ_WIDGET_TOOLKIT"] == "cocoa":
DIRS += ["defaultlaunchonlogin", "touchbar"]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
DIRS += [
"defaultlaunchonlogin",
"installerprefs",
]
XPIDL_SOURCES += [
"nsIBrowserHandler.idl",
]
XPIDL_MODULE = "browsercompsbase"
XPCOM_MANIFESTS += [
"components.conf",
]
if CONFIG["MOZ_DEFAULT_BROWSER_AGENT"] and CONFIG["OS_ARCH"] == "WINNT":
DEFINES["MOZ_DEFAULT_BROWSER_AGENT"] = CONFIG["MOZ_DEFAULT_BROWSER_AGENT"]
EXTRA_PP_COMPONENTS += [
"BrowserComponents.manifest",
]
EXTRA_JS_MODULES += [
"AccountsGlue.sys.mjs",
"BrowserContentHandler.sys.mjs",
"BrowserGlue.sys.mjs",
"distribution.sys.mjs",
]
MOZ_SRC_FILES += [
"DefaultBrowserCheck.sys.mjs",
"DesktopActorRegistry.sys.mjs",
"ProfileDataUpgrader.sys.mjs",
"ReinstallCheck.sys.mjs",
"StartupTelemetry.sys.mjs",
]
if CONFIG["MOZ_DEBUG"] or CONFIG["MOZ_DEV_EDITION"] or CONFIG["NIGHTLY_BUILD"]:
EXTRA_JS_MODULES += [
"StartupRecorder.sys.mjs",
]
BROWSER_CHROME_MANIFESTS += [
"safebrowsing/content/test/browser.toml",
"tests/browser/browser.toml",
"tests/browser/eval/browser.toml",
]
if CONFIG["MOZ_UPDATER"]:
BROWSER_CHROME_MANIFESTS += [
"tests/browser/whats_new_page/browser.toml",
]
MARIONETTE_MANIFESTS += ["tests/marionette/manifest.toml"]
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]