Skip to content

Commit

Permalink
Undo ship review config hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
amddg44 committed Jul 22, 2024
1 parent b6143ac commit 973c5d1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 1 addition & 2 deletions Core/AppURLs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,7 @@ public extension URL {

// The following URLs shall match the ones in update_embedded.sh.
// Danger checks that the URLs match on every PR. If the code changes, the regex that Danger uses may need an update.
static let privacyConfig = URL(string: "https://jsonblob.com/api/1262834058273873920")!
// static let privacyConfig = URL(string: "\(staticBase)/trackerblocking/config/v4/ios-config.json")!
static let privacyConfig = URL(string: "\(staticBase)/trackerblocking/config/v4/ios-config.json")!
static let trackerDataSet = URL(string: "\(staticBase)/trackerblocking/v5/current/ios-tds.json")!
static let bloomFilter = URL(string: "\(staticBase)/https/https-mobile-v2-bloom.bin")!
static let bloomFilterSpec = URL(string: "\(staticBase)/https/https-mobile-v2-bloom-spec.json")!
Expand Down
7 changes: 0 additions & 7 deletions Core/ios-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,13 +414,6 @@
},
"hash": "bd604dcd1f7bb584185f0c1cb94a5771"
},
"autofillBreakageReporter": {
"state": "enabled",
"settings": {
"monitorIntervalDays": 42
},
"exceptions": []
},
"brokenSiteReportExperiment": {
"exceptions": [],
"state": "enabled",
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/AutofillLoginListViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ final class AutofillLoginListViewModel: ObservableObject {
func shouldShowBreakageReporter() -> Bool {
guard let currentTabUrl = currentTabUrl,
!accountsToSuggest.isEmpty,
privacyConfig.isEnabled(featureKey: .autofill),
privacyConfig.isEnabled(featureKey: .autofillBreakageReporter),
let identifier = currentTabUrl.privacySafeDomainIdentifier,
!privacyConfig.isInExceptionList(domain: currentTabUrl.host, forFeature: .autofillBreakageReporter) else {
return false
Expand Down

0 comments on commit 973c5d1

Please sign in to comment.