Bug 1791998 - Disable TCP popup when running performance tests. (#27451)
* Disable TCP popup when running performance tests. * Run some perf tests. * Undo testing changes. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
fe25aa8e14
commit
5e60cea503
|
@ -34,6 +34,7 @@ object Performance {
|
|||
disableOnboarding(context)
|
||||
disableTrackingProtectionPopups(context)
|
||||
disableFirstTimePWAPopup(context)
|
||||
disableTCPPopup(context)
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -85,4 +86,11 @@ object Performance {
|
|||
private fun disableFirstTimePWAPopup(context: Context) {
|
||||
context.components.settings.userKnowsAboutPwas = true
|
||||
}
|
||||
|
||||
/**
|
||||
* Disables the TCP popup.
|
||||
*/
|
||||
private fun disableTCPPopup(context: Context) {
|
||||
context.components.settings.shouldShowTotalCookieProtectionCFR = false
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue