tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit 97d58138ea79312f780512b1fed5cba370a0b8af
parent d3820fa60d5aef5caeef3f892e4f2462b241d37a
Author: Sarah Chung <sachung@mozilla.com>
Date:   Fri,  7 Nov 2025 16:55:07 +0000

Bug 1998043 - Remove mobile adoption callout from tree r=omc-reviewers,emcminn

Differential Revision: https://phabricator.services.mozilla.com/D271685

Diffstat:
Mbrowser/components/asrouter/modules/FeatureCalloutMessages.sys.mjs | 200-------------------------------------------------------------------------------
1 file changed, 0 insertions(+), 200 deletions(-)

diff --git a/browser/components/asrouter/modules/FeatureCalloutMessages.sys.mjs b/browser/components/asrouter/modules/FeatureCalloutMessages.sys.mjs @@ -263,206 +263,6 @@ const MESSAGES = () => { }, skip_in_tests: "it's not tested in automation", }, - { - id: "DESKTOP_TO_MOBILE_ADOPTION_SIGNED_INTO_ACCOUNT_NON_EU", - template: "feature_callout", - groups: ["cfr"], - content: { - id: "DESKTOP_TO_MOBILE_ADOPTION_SIGNED_INTO_ACCOUNT_NON_EU", - padding: "16", - template: "multistage", - backdrop: "transparent", - transitions: false, - disableHistoryUpdates: true, - screens: [ - { - id: "DESKTOP_TO_MOBILE_ADOPTION_SIGNED_INTO_ACCOUNT_NON_EU", - anchors: [ - { - selector: "#fxa-toolbar-menu-button", - panel_position: { - anchor_attachment: "bottomcenter", - callout_attachment: "topright", - }, - }, - ], - content: { - position: "callout", - width: "400px", - padding: 16, - title: { - string_id: "desktop-to-mobile-headline", - marginInline: "4px 0", - }, - logo: { - height: "128px", - imageURL: - "chrome://browser/content/asrouter/assets/desktop-to-mobile-banner.svg", - }, - subtitle: { - string_id: "desktop-to-mobile-subtitle", - marginBlock: "-44px 0", - marginInline: "84px 0", - }, - title_logo: { - height: "103px", - width: "75px", - alignment: "top", - marginBlock: "40px 0", - marginInline: "32px", - imageURL: - "chrome://browser/content/asrouter/assets/desktop-to-mobile-non-eu-QR.svg", - alt: { - string_id: "desktop-to-mobile-qr-code-alt", - }, - }, - additional_button: { - action: { - dismiss: true, - }, - label: { - string_id: "dismiss-button-label", - fontWeight: "590", - fontSize: "11px", - }, - style: "secondary", - }, - secondary_button: { - action: { - type: "OPEN_ABOUT_PAGE", - data: { - args: "preferences?action=pair#sync", - where: "tab", - }, - dismiss: true, - }, - label: { - string_id: "sync-to-mobile-button-label", - fontWeight: "590", - fontSize: "11px", - }, - style: "secondary", - }, - }, - }, - ], - }, - frequency: { - custom: [ - { - cap: 1, - period: 2628000000, - }, - ], - lifetime: 3, - }, - trigger: { - id: "defaultBrowserCheck", - }, - targeting: - "(region in ['CA', 'US']) && isFxASignedIn && previousSessionEnd && !willShowDefaultPrompt && !activeNotifications && userPrefs.cfrFeatures && !(sync || {}).mobileDevices", - skip_in_tests: "it's not tested in automation", - }, - { - id: "DESKTOP_TO_MOBILE_ADOPTION_SIGNED_INTO_ACCOUNT_EU", - template: "feature_callout", - groups: ["cfr"], - content: { - id: "DESKTOP_TO_MOBILE_ADOPTION_SIGNED_INTO_ACCOUNT_EU", - padding: "16", - template: "multistage", - backdrop: "transparent", - transitions: false, - disableHistoryUpdates: true, - screens: [ - { - id: "DESKTOP_TO_MOBILE_ADOPTION_SIGNED_INTO_ACCOUNT_EU", - anchors: [ - { - selector: "#fxa-toolbar-menu-button", - panel_position: { - anchor_attachment: "bottomcenter", - callout_attachment: "topright", - }, - }, - ], - content: { - position: "callout", - width: "400px", - padding: 16, - title: { - string_id: "desktop-to-mobile-headline", - marginInline: "4px 0", - }, - logo: { - height: "128px", - imageURL: - "chrome://browser/content/asrouter/assets/desktop-to-mobile-banner.svg", - }, - subtitle: { - string_id: "desktop-to-mobile-subtitle", - marginBlock: "-44px 0", - marginInline: "84px 0", - }, - title_logo: { - height: "103px", - width: "75px", - alignment: "top", - marginBlock: "40px 0", - marginInline: "32px", - imageURL: - "chrome://browser/content/asrouter/assets/desktop-to-mobile-eu-QR.svg", - alt: { - string_id: "desktop-to-mobile-qr-code-alt", - }, - }, - additional_button: { - action: { - dismiss: true, - }, - label: { - string_id: "dismiss-button-label", - fontWeight: "590", - fontSize: "11px", - }, - style: "secondary", - }, - secondary_button: { - action: { - type: "OPEN_ABOUT_PAGE", - data: { - args: "preferences?action=pair#sync", - where: "tab", - }, - dismiss: true, - }, - label: { - string_id: "sync-to-mobile-button-label", - fontWeight: "590", - fontSize: "11px", - }, - style: "secondary", - }, - }, - }, - ], - }, - frequency: { - custom: [ - { - cap: 1, - period: 2628000000, - }, - ], - lifetime: 3, - }, - trigger: { - id: "defaultBrowserCheck", - }, - targeting: - "(locale in ['de', 'en-CA', 'en-GB', 'en-US', 'fr']) && (region in ['DE', 'FR', 'GB']) && isFxASignedIn && previousSessionEnd && !willShowDefaultPrompt && !activeNotifications && userPrefs.cfrFeatures && !(sync || {}).mobileDevices", - skip_in_tests: "it's not tested in automation", - }, // Appears the first time a user uses the "save and close" action on a tab group, // anchored to the alltabs-button. Will only show if at least an hour has passed // since the CREATE_TAB_GROUP callout showed.