@@ -990,9 +990,10 @@ const BASE_MESSAGES = () => [
990
990
lifetime : 1 ,
991
991
} ,
992
992
trigger : { id : "defaultBrowserCheck" } ,
993
- targeting : `source == 'newtab' && !launchOnLoginEnabled
993
+ targeting : `source == 'newtab'
994
994
&& 'browser.startup.windowsLaunchOnLogin.disableLaunchOnLoginPrompt'|preferenceValue == false
995
- && 'browser.startup.windowsLaunchOnLogin.enabled'|preferenceValue == true && isDefaultBrowser && !activeNotifications` ,
995
+ && 'browser.startup.windowsLaunchOnLogin.enabled'|preferenceValue == true && isDefaultBrowser && !activeNotifications
996
+ && !launchOnLoginEnabled` ,
996
997
} ,
997
998
{
998
999
id : "INFOBAR_LAUNCH_ON_LOGIN_FINAL" ,
@@ -1054,12 +1055,13 @@ const BASE_MESSAGES = () => [
1054
1055
lifetime : 1 ,
1055
1056
} ,
1056
1057
trigger : { id : "defaultBrowserCheck" } ,
1057
- targeting : `source == 'newtab' && !launchOnLoginEnabled
1058
+ targeting : `source == 'newtab'
1058
1059
&& 'browser.startup.windowsLaunchOnLogin.disableLaunchOnLoginPrompt'|preferenceValue == false
1059
1060
&& 'browser.startup.windowsLaunchOnLogin.enabled'|preferenceValue == true && isDefaultBrowser && !activeNotifications
1060
1061
&& messageImpressions.INFOBAR_LAUNCH_ON_LOGIN[messageImpressions.INFOBAR_LAUNCH_ON_LOGIN | length - 1]
1061
1062
&& messageImpressions.INFOBAR_LAUNCH_ON_LOGIN[messageImpressions.INFOBAR_LAUNCH_ON_LOGIN | length - 1] <
1062
- currentDate|date - ${ FOURTEEN_DAYS_IN_MS } ` ,
1063
+ currentDate|date - ${ FOURTEEN_DAYS_IN_MS }
1064
+ && !launchOnLoginEnabled` ,
1063
1065
} ,
1064
1066
{
1065
1067
id : "FOX_DOODLE_SET_DEFAULT" ,
0 commit comments