Skip to content

Commit a8fc643

Browse files
Refactor FXIOS-13820 Enable SEC by default (#29945)
* [FXIOS-13820] Enable SEC by default * Attempt at fixing crash in BR, still investigating * Revert "Attempt at fixing crash in BR, still investigating" This reverts commit 88df4c7. * Temporarily disable testQuickSearchEngines to see if that fixes BR run * Unit test fix * Fix UI tests
1 parent 3ef6a66 commit a8fc643

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

firefox-ios/Client/Frontend/Browser/SearchEngines/SearchEngineFlagManager.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22
// License, v. 2.0. If a copy of the MPL was not distributed with this
33
// file, You can obtain one at http://mozilla.org/MPL/2.0/
44

5+
import Common
6+
57
struct SearchEngineFlagManager {
68
/// Whether Search Engine Consolidation is enabled.
79
/// If enabled, search engines are fetched from Remote Settings rather than our pre-bundled XML files.
810
static var isSECEnabled: Bool {
11+
guard !AppConstants.isRunningUnitTest && !AppConstants.isRunningUITests else { return false }
912
return LegacyFeatureFlagsManager.shared.isFeatureEnabled(.searchEngineConsolidation, checking: .buildOnly)
1013
}
1114
}

firefox-ios/nimbus-features/searchEngineConsolidationFeature.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ features:
88
description: >
99
Enables the feature
1010
type: Boolean
11-
default: false
11+
default: true
1212
defaults:
1313
- channel: beta
1414
value:
15-
enabled: false
15+
enabled: true
1616
- channel: developer
1717
value:
18-
enabled: false
18+
enabled: true
1919

0 commit comments

Comments
 (0)