Commit Graph

15 Commits

Author SHA1 Message Date
Arturo Mejia 5358e9b878 Closes #26858: Remove unused nimbus engine-settings tabs-prioritization-enabled feature. 2022-09-08 10:41:18 -04:00
Arturo Mejia 49bef5d309 Closes #26858: Remove unused nimbus engine-settings total-cookie-protection-enabled feature. 2022-09-08 10:41:18 -04:00
Mugurell bf23a2a6b9 For #18175 - Add a new total protection ETP cookies policy
This should only add the new option in settings based on a Nimbus experiment.
2022-08-25 10:05:11 +00:00
Arturo Mejia 8c752c3be1 For #25736: Add experiment for Total cookie protection. 2022-07-05 19:07:05 +00:00
Brais Gabín 7ec31a25c4 For #23142 - Fix license formatting in tests 2022-01-11 18:32:06 +00:00
mcarare 0cb4059b12 For #17130: Replace hardcoded strings with string resources. 2021-12-10 14:44:39 +00:00
Sebastian Kaspari 971b419d77 Run ktlintFormat to adapt to latest formatting rules. 2021-07-30 11:58:02 +00:00
Elise Richards 6dadecacc2
For #15703 and #17133: allow ETP redirect trackers setting to be customized (#17137)
* Remove ETP redirect trackers feature flag. Add category to ETP panel view.

* Add redirect tracker category to ETP custom settings
2020-12-22 11:43:04 -06:00
Arturo Mejia dbe6dbb18c
For #16019 - Fix intermittent test failure TrackingProtectionPolicyFactoryTest (#16056) 2020-10-21 10:25:25 -04:00
Elise Richards a4ff782565
For #13812: add ETP category for redirect trackers (#15139)
* Feature flag for ETP cookie purging

* Strings for new ETP description

* Remove icons from ETP info screeen and add category for redirect trackers

* ETP policy factory tests

* Remove icons from ETP panel and add cross tracking allowed field.

* Remove icons on ETP panel. Add blocked category for redirect trackers to panel.

* Add margins to tracking protection settings
2020-09-18 14:03:51 -05:00
Arturo Mejia 5d14688448 For issue #12796: Ensure Cookie purging is only active in nightly or debug. 2020-08-17 10:03:25 -04:00
ekager a1a839f237 For #13221 - Update global ETP to include PBM 2020-08-04 14:34:24 -04:00
Hakkı Kaan Çalışkan 057711e6fb No issue: Uncomment forgotten assert 2020-07-16 11:45:53 -04:00
Michael Comella 6e0d851da3 For #9605: replace unit test runners with FenixRobolectricTestRunner.
This is how we can apply the new test runner to remove duplication.

This commit was generated programmatically with the following commands:
```
  // Replace test runners with new one.
  find app/src/test -type f -exec gsed -i "s/@RunWith(RobolectricTestRunner::class)/@RunWith(FenixRobolectricTestRunner::class)/" {} +
  find app/src/test -type f -exec gsed -i "s/@RunWith(AndroidJUnit4::class)/@RunWith(FenixRobolectricTestRunner::class)/" {} +

  // Replace imports of old test runners with new one
  find app/src/test -type f -exec gsed -i "s/org.robolectric.RobolectricTestRunner/org.mozilla.fenix.helpers.FenixRobolectricTestRunner/" {} +
  find app/src/test -type f -exec gsed -i "s/androidx.test.ext.junit.runners.AndroidJUnit4/org.mozilla.fenix.helpers.FenixRobolectricTestRunner/" {} +

  // Remove unused imports
  find app/src/test -type f -exec gsed -i "/@Config(application = TestApplication::class)/d" {} +
  find app/src/test -type f -exec gsed -i "/import org.mozilla.fenix.TestApplication/d" {} +
  find app/src/test -type f -exec gsed -i "/import org.robolectric.annotation.Config/d" {} +
```

Where gsed is the GNU version of sed installed via homebrew. After
running these commands, I need to manually clean up the following files:
- FenixRobolectricTestRunner
- LocaleManagerExtensionTest
2020-04-03 09:27:49 -07:00
Mihai Adrian 9612c3f16d
For #8540: Fix ETP options not being correctly applied (#8688) 2020-02-26 12:25:40 -08:00