Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
116 commits
Select commit Hold shift + click to select a range
88ceab8
Bug 2010219 - Part 1: Move Intl.Segmenter initialisation to C++. r=dm…
anba Jan 29, 2026
3b41d03
Bug 2010219 - Part 2: Remove no longer used self-hosting code for Int…
anba Jan 29, 2026
759d06c
Bug 2010220 - Part 1: Move Intl.Collator to C++. r=spidermonkey-revie…
anba Jan 29, 2026
c87a5af
Bug 2010220 - Part 2: Remove no longer used self-hosting code for Int…
anba Jan 29, 2026
eff29d9
Bug 2010221 - Part 1: Move Intl.DurationFormat initialisation to C++.…
anba Jan 29, 2026
1619682
Bug 2010221 - Part 2: Remove no longer used self-hosting code for Int…
anba Jan 29, 2026
d920164
Bug 2012986 - Update PDF.js to 550520193085788c1dbb1dac0d4565109fbbb4…
updatebot-ci Jan 29, 2026
3e39953
Bug 2013020 - Always run math-font-001.html with font-family: math en…
fred-wang Jan 29, 2026
ad5f6bf
Bug 2010286: Add sandbox rules for GetUserGeoID. r=handyman
bobowen Jan 29, 2026
481a2f3
Bug 1299611: Adjust LowLevelPolicy::Done byte accounting. r=handyman
bobowen Jan 29, 2026
7b9ec09
Bug 2013185. Normalize basic decoder gtests for avif. r=gfx-reviewers…
tnikkel Jan 29, 2026
f82b6ca
Bug 2011700 - Fix missing clip prepare_quad_impl. r=gfx-reviewers,jnicol
nical Jan 29, 2026
cf9703f
Bug 2013142 - Enable SIMD for jxl-rs r=tnikkel
saschanaz Jan 29, 2026
f902438
Bug 2013145 - Remove unused C++ libjxl r=tnikkel
saschanaz Jan 29, 2026
db71b48
Bug 2011818 - CSS Highlight API: Cache computedStyle of functional ps…
jnjaeschke Jan 29, 2026
8ce1ea2
Bug 2004990 - [Downloads path] Fix the name guessing for new Download…
iorgamgabriel Jan 29, 2026
1042105
Bug 2010821 - Update docs about bugs and data review on metrics r=chu…
badboy Jan 29, 2026
8a91943
Bug 2012361 [wpt PR 57328] - Map "Color" to web-features, a=testonly
jugglinmike Jan 27, 2026
2e3e5cf
Bug 2002259 [wpt PR 56260] - Tests to ensure 'animation-name' doesn't…
javifernandez Jan 27, 2026
270234c
Bug 2002259 [wpt PR 56260] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 26, 2026
204f222
Bug 2012414 [wpt PR 57331] - Implement (unsafe) streaming sanitizer, …
noamr Jan 27, 2026
54bbf55
Bug 2012414 [wpt PR 57331] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 26, 2026
72ca676
Bug 2012524 [wpt PR 57337] - [animation-trigger] Remove play-alternat…
DavMila Jan 27, 2026
e3ab74e
Bug 2012502 [wpt PR 57336] - Bail earlier in layout cache matching wh…
mstensho Jan 27, 2026
90b8980
Bug 2011520 [wpt PR 57260] - [Masonry] Implement item-level baseline …
yanlingwang23 Jan 27, 2026
534114e
Bug 2011520 [wpt PR 57260] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 26, 2026
b7bcf4a
Bug 2012335 [wpt PR 57326] - CSP: test that U+000B is not treated as …
annevk Jan 27, 2026
77cfc5b
Bug 2012538 [wpt PR 57339] - SuppressDetachCheck() on promise resolve…
caseq Jan 27, 2026
3c981bc
Bug 2012538 [wpt PR 57339] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 26, 2026
5be4aee
Bug 2012233 [wpt PR 57323] - Map iframe-related tests to web-features…
jugglinmike Jan 27, 2026
98c4d9b
Bug 2012622 [wpt PR 57345] - [Connection-Allowlist] Add wpt for link …
xiaochen-z Jan 27, 2026
c6640a3
Bug 2012622 [wpt PR 57345] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 27, 2026
681f253
Bug 2012579 [wpt PR 57340] - Use Ahem font in WPT old-content-is-inli…
dholbert Jan 27, 2026
62714ad
Bug 2012579 [wpt PR 57340] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 27, 2026
0570ebc
Bug 2010918 [wpt PR 57213] - [scoped-registry] Null registry element …
Jan 27, 2026
77cb7a7
Bug 2010918 [wpt PR 57213] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 27, 2026
5fe2bd5
Bug 2012174 [wpt PR 57314] - Add 2ms overshoot to mainThreadBusy to a…
canova Jan 27, 2026
3fff79f
Bug 2012649 [wpt PR 57353] - [SVG] Support `path` attribute on <textP…
Jan 27, 2026
1fadac5
Bug 2012581 [wpt PR 57341] - X-Frame-Options: don't strip 0x0B or 0x0…
annevk Jan 27, 2026
cacfb32
Bug 2012664 [wpt PR 57354] - Add coverage for other elements with UA …
annevk Jan 27, 2026
b99d901
Bug 2012585 [wpt PR 57343] - [Connection-Allowlist] Add wpt for link …
xiaochen-z Jan 27, 2026
dfbd3b9
Bug 2012585 [wpt PR 57343] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 27, 2026
7d645e5
Bug 2012623 [wpt PR 57352] - Shorten the text in new-content-is-inlin…
dholbert Jan 27, 2026
d8869ed
Bug 2012623 [wpt PR 57352] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 27, 2026
8da85bf
Bug 2012587 [wpt PR 57344] - [Connection-Allowlist] Add wpt for link …
xiaochen-z Jan 27, 2026
369ccb5
Bug 2012587 [wpt PR 57344] - Update wpt metadata, a=testonly
moz-wptsync-bot Jan 27, 2026
eae367e
Bug 2012753 - [wpt-sync] Update web-platform-tests to 10bbfe6bcf96c8d…
moz-wptsync-bot Jan 27, 2026
2292742
Bug 2012018 - Simplify property lookup in SuppressDeletedProperty. r=…
jandem Jan 29, 2026
6a05930
Bug 2012638 - Make `nsFrameSelection::RepaintSelection()` run `Update…
masayuki-nakano Jan 29, 2026
0bbd358
Bug 2012735 - port generate-checksums script to boto3 r=releng-review…
jcristau Jan 29, 2026
bb79c58
Revert "Bug 2010221, Bug 2010220, Bug 2010219 - Part 2: Remove no lon…
chorotan Jan 29, 2026
067d5b0
Revert "Bug 2004990 - [Downloads path] Fix the name guessing for new …
chorotan Jan 29, 2026
ceded7b
Revert "Bug 2012638 - Make `nsFrameSelection::RepaintSelection()` run…
chorotan Jan 29, 2026
dd89427
Bug 2013100 - Update KSP to version 2.3.5. r=android-reviewers,mcarare
rvandermeulen Jan 29, 2026
54fe7c7
Bug 2009931 - Cleanup after BrowserChild::Init crash. r=nika,hsivonen
vinhill Jan 29, 2026
97239f8
Bug 2010993 - Ensure TranslationsEngine is destroyed when disabling T…
nordzilla Jan 29, 2026
f78f5e8
Bug 2010993 - Make about:translations react to feature enabledness r=…
nordzilla Jan 29, 2026
e97e9bb
Bug 2010993 - Make Translate QuickAction react to feature enabledness…
nordzilla Jan 29, 2026
accc09b
Bug 2010993 - Make SelectTranslations react to feature enabledness r=…
nordzilla Jan 29, 2026
63d9a87
Bug 2010993 - Make AppMenu react to Translations feature enabledness …
nordzilla Jan 29, 2026
cceadb3
Bug 2010993 - Rework StatePerTopChromeWindow to StatePerTab r=transla…
nordzilla Jan 29, 2026
1288d8c
Bug 2010993 - Make FullPage Translations react to feature enabledness…
nordzilla Jan 29, 2026
45bd645
Bug 2010993 - Add TranslationsFeature Telemetry r=translations-review…
nordzilla Jan 29, 2026
fe11142
Bug 2010993 - Update Android Test Expectations r=ohall,geckoview-revi…
nordzilla Jan 29, 2026
791e888
Bug 2012153 - Always add transparent-gray border on picker color prev…
saschanaz Jan 29, 2026
3a1066b
Bug 1987201 - Fix browser_privacy_allowListPreference_reload.js stand…
fqueze Jan 29, 2026
75688bf
Bug 2012103 - Part 1: Updated the UI to implement the Nova onboarding…
t-p-white Jan 29, 2026
5743fa6
Bug 2012103 - Part 2: Added the required drawable assets, and updated…
t-p-white Jan 29, 2026
b06ef17
Bug 2012103 - Part 3: Refactor the sub-header implementation for `Ter…
t-p-white Jan 29, 2026
39878ac
Bug 2012103 - Part 4: Update the onboarding screen redesign to pagina…
t-p-white Jan 29, 2026
4c2406d
Bug 2012103 - Part 5: Add Kit sync QR asset to the Sync sign in fragm…
t-p-white Jan 29, 2026
b348a92
Bug 2012103 - Part 6: Nova onboarding ToU card Kit easter egg - chang…
t-p-white Jan 29, 2026
ce12ba0
Bug 2012950 - Increase the number of sandbox policy memory pages. r=y…
bobowen Jan 29, 2026
ab26851
Bug 2010018 - Update to Glean v67.0.0 r=TravisLong,mach-reviewers,aho…
badboy Jan 29, 2026
6f47e78
Bug 2013174 - Update android nightly application-services version bum…
updatebot-ci Jan 29, 2026
14dfda0
Bug 2007857 (part 1) - update app-services to rev with new glean and …
mhammond Jan 29, 2026
a4c608e
Bug 2007857 (part 2) - Update uniffi to 0.31. r=bdk,supply-chain-revi…
mhammond Jan 29, 2026
71f561e
Bug 2007857 (part 3) - vendor rust. r=bdk
mhammond Jan 29, 2026
55423c8
Bug 1986300 - Block and revoke permission if a sender is on the safe …
Trikolon Jan 29, 2026
3c80969
Bug 1986300 - Tests for notification blocking. r=saschanaz,timhuang
Trikolon Jan 29, 2026
30f74b2
Bug 2010700 - Created public compose root and store primitives for s2…
fmasalha Jan 29, 2026
7b5dbd8
Bug 2013184 - Close IdentityCredentialStorageService memory connectio…
gcp Jan 29, 2026
eda116e
Bug 2013278 - Part 1: Update test262 January, 2026. r=spidermonkey-re…
anba Jan 29, 2026
52091c3
Bug 2013278 - Part 2: Update test262 exclusion lists. r=spidermonkey-…
anba Jan 29, 2026
8d63895
Bug 2008973: Update smartbar background and text for dark mode. r=ai-…
gcardieri Jan 29, 2026
515c39e
Bug 1889753 - removed quality model from translations JS code r=trans…
tyleretchart Jan 29, 2026
48d55cf
Bug 1968038 - updated translations repo hash to vender in autogenerat…
tyleretchart Jan 29, 2026
ab959ec
Bug 1995636 - Increase navigation rate limiting threshold. r=smaug,zc…
farre Jan 29, 2026
cb149f2
No Bug, mozilla-central repo-update HSTS HPKP mobile-experiments ct-l…
Jan 29, 2026
726344b
Revert "Bug 2010993 - Update Android Test Expectations r=ohall,geckov…
chorotan Jan 29, 2026
f2fcc4f
Revert "Bug 1995636 - Increase navigation rate limiting threshold. r=…
chorotan Jan 29, 2026
09c0ab9
Bug 2013286 - Fix for compose snapshot state being observed from mult…
AndiAJ Jan 29, 2026
8f7cff6
Bug 2008160 - Use alt="" to programmatically identify arrow icon in m…
Jan 29, 2026
611fbfa
Bug 2009661 - Ensure unloading and reloading split view tabs works as…
kcochrane-mozilla Jan 29, 2026
5ec9ba7
Bug 2013268 - Replace `runTestOnMain` and `MainCoroutineRule` with st…
mcarare Jan 29, 2026
5099e99
Bug 2001125 - Set up Monitoring for Decision task r=perftest-reviewe…
afinder-mozilla Jan 29, 2026
23721b7
Bug 1978714 - Ignore UAWidget when nsContentUtils::GetIndexInParent()…
EdgarChen Jan 29, 2026
d7693f5
Bug 1994763 - Ignore UAWidget when computing the offset iin nsContent…
EdgarChen Jan 29, 2026
3c11870
Bug 2011977 - Update IPPNimbusHelper to only check for the control br…
fchasen Jan 29, 2026
6cd3652
Bug 1958716 - android support for webauthn PRF extension. r=m_kato,ke…
jschanck Jan 29, 2026
9d1a0a5
Bug 2012854 - android support for the WebAuthn largeBlob extension. r…
jschanck Jan 29, 2026
525f363
Bug 2001496 - Chat History in FXView - r=omarg,fluent-reviewers,deskt…
mailelucks Jan 29, 2026
3cc49bd
Bug 2012028 - [devtools] Skip browser_touch_all_events_long_tap.js on…
juliandescottes Jan 29, 2026
3f2d7d7
Bug 2011554 - Hide navbar items for firstrun and new tab on vertical …
gcardieri Jan 29, 2026
dd4f67f
Bug 2009534 — update connected/disconnected state UI for ip protectio…
kpatenio Jan 29, 2026
bac0c7c
Bug 2009535 — add excluded site state UI for ip protection. r=ip-prot…
kpatenio Jan 29, 2026
2ebed9a
Bug 2012765 - Fix extra padding on New Tab panel list reusable compon…
Jan 29, 2026
d7fbd80
Revert "Bug 2001496 - Chat History in FXView - r=omarg,fluent-reviewe…
Jan 29, 2026
1d8c481
No Bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBU…
Jan 29, 2026
4cede2f
No Bug - Bumping Mobile l10n changesets r=release a=l10n-bump DONTBUI…
Jan 29, 2026
b27319d
Revert "Bug 1994763 - Ignore UAWidget when computing the offset iin n…
Jan 29, 2026
070651a
Revert "Bug 1978714 - Ignore UAWidget when nsContentUtils::GetIndexIn…
Jan 29, 2026
4ef53c1
Revert "Bug 2009780 - persist our webcompat intervention and SmartBlo…
Jan 29, 2026
5b18cf4
Revert "Bug 2009535 — add excluded site state UI for ip protection. r…
Jan 29, 2026
62df450
Revert "Bug 2009534 — update connected/disconnected state UI for ip p…
Jan 29, 2026
8d8cb89
Bug 2009742 - Add missing `terser` toolchain to searchfox opt tasks r…
ahochheiden Jan 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .cargo/config.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ git = "https://github.com/jfkthame/mapped_hyph.git"
rev = "eff105f6ad7ec9b79816cfc1985a28e5340ad14b"
replace-with = "vendored-sources"

[source."git+https://github.com/mozilla/application-services?rev=0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2"]
[source."git+https://github.com/mozilla/application-services?rev=900d0b03aeb82245c28a11a9adc1cbbead31ce56"]
git = "https://github.com/mozilla/application-services"
rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2"
rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56"
replace-with = "vendored-sources"

[source."git+https://github.com/mozilla/audioipc?rev=82fe7fa7e3aaa35468137239a0e4c2f867457214"]
Expand Down
127 changes: 60 additions & 67 deletions Cargo.lock

Large diffs are not rendered by default.

42 changes: 19 additions & 23 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ rust-version = "1.90.0"

[workspace.dependencies]
# Shared across multiple UniFFI consumers.
uniffi = "0.29.3"
uniffi_bindgen = "0.29.3"
uniffi_pipeline = "0.29.3"
uniffi = "0.31"
uniffi_bindgen = "0.31"
uniffi_pipeline = "0.31"
# Shared across multiple application-services consumers.
rusqlite = "0.37"
# Shared across multiple glean consumers.
glean = "=66.3.0"
glean = "=67.0.0"

# Explicitly specify what our profiles use. The opt-level setting here is
# a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
Expand Down Expand Up @@ -172,10 +172,6 @@ bindgen = { path = "build/rust/bindgen" }
# Patch nix 0.29 to 0.30+
nix = { path = "build/rust/nix" }

# Patch siphasher 0.3 to 1.0
# TODO: Remove once https://github.com/mozilla/uniffi-rs/pull/2709 lands in m-c.
siphasher = { path = "build/rust/siphasher" }

# Patch autocfg to hide rustc output. Workaround for https://github.com/cuviper/autocfg/issues/30
autocfg = { path = "third_party/rust/autocfg" }

Expand Down Expand Up @@ -270,21 +266,21 @@ objc = { git = "https://github.com/glandium/rust-objc", rev = "4de89f5aa9851ceca
allocator-api2 = { git = "https://github.com/glandium/allocator-api2", rev = "ad5f3d56a5a4519eff52af4ff85293431466ef5c" }

# application-services overrides to make updating them all simpler.
context_id = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
error-support = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
filter_adult = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
interrupt-support = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
relevancy = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
search = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
sql-support = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
suggest = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
sync15 = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
tabs = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
tracing-support = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
viaduct = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
webext-storage = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
logins = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
init_rust_components = { git = "https://github.com/mozilla/application-services", rev = "0376c542e4a31cde8d33dd0e8da17dcfbc6c58b2" }
context_id = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
error-support = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
filter_adult = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
interrupt-support = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
relevancy = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
search = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
sql-support = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
suggest = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
sync15 = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
tabs = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
tracing-support = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
viaduct = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
webext-storage = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
logins = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
init_rust_components = { git = "https://github.com/mozilla/application-services", rev = "900d0b03aeb82245c28a11a9adc1cbbead31ce56" }
# Patched version of zip 2.4.2 to allow for reading omnijars.
zip = { path = "third_party/rust/zip" }

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions browser/components/aiwindow/ui/assets/memories-off.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion browser/components/aiwindow/ui/assets/memories-on.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@

moz-button.input-cta {
--button-background-color-active: color-mix(in srgb, black 25%, transparent);
--button-background-color-disabled: var(--color-gray-20);
--button-background-color-disabled: light-dark(var(--color-gray-20), var(--color-gray-60));
--button-background-color-hover: color-mix(in srgb, black 15%, transparent);
--button-background-color-selected: color-mix(in srgb, black 25%, transparent);
--button-background-color: transparent;
--button-border-radius: var(--border-radius-circle);
--button-icon-fill: light-dark(var(--color-gray-60), white);
--button-padding: 0 var(--space-small) 0 var(--space-large);
--button-text-color-active: white;
--button-text-color-disabled: white;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */

moz-button.memories-icon-button {
--button-icon-fill: var(--color-gray-70);
--button-icon-fill: light-dark(var(--color-gray-70), white);
--button-background-color-ghost-selected: transparent;
}
7 changes: 4 additions & 3 deletions browser/components/ipprotection/IPPNimbusHelper.sys.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,22 @@ class IPPNimbusHelperSingleton {
}

/**
* Check if this device is in the experiment with a variant branch.
* Check that this device is not in the control branch of an experiment.
*
* @returns {boolean}
*/
get isEligible() {
let inExperiment = lazy.NimbusFeatures.ipProtection.getEnrollmentMetadata();
let isEligible = inExperiment?.branch && inExperiment.branch !== "control";

if (inExperiment) {
lazy.NimbusFeatures.ipProtection.recordExposureEvent({
once: true,
});

return inExperiment.branch !== "control";
}

return isEligible;
return true;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ const { IPProtectionServerlist } = ChromeUtils.importESModule(
"moz-src:///browser/components/ipprotection/IPProtectionServerlist.sys.mjs"
);

// Don't add an experiment so we can test adding and removing it.
DEFAULT_EXPERIMENT = null;

add_task(async function test_IPPProxyManager_handleProxyErrorEvent() {
setupService({
isSignedIn: true,
canEnroll: true,
});
let cleanupAlpha = await setupExperiment({ enabled: true, variant: "alpha" });

IPProtectionService.updateState();

await IPProtectionServerlist.maybeFetchList();

Expand Down Expand Up @@ -115,7 +113,6 @@ add_task(async function test_IPPProxyManager_handleProxyErrorEvent() {
"Should not return a promise when connection is inactive"
);

await cleanupAlpha();
cleanupService();
});

Expand All @@ -128,6 +125,8 @@ add_task(async function test_IPPProxyManager_bug_1999946() {
"moz-src:///browser/components/ipprotection/IPPChannelFilter.sys.mjs"
);

Services.prefs.clearUserPref("browser.ipProtection.enabled");

// Hook the Call to create to capture the created channel filter
let channelFilterRef = null;
const sandbox = sinon.createSandbox();
Expand All @@ -145,7 +144,9 @@ add_task(async function test_IPPProxyManager_bug_1999946() {
canEnroll: true,
});

let cleanupAlpha = await setupExperiment({ enabled: true, variant: "alpha" });
await SpecialPowers.pushPrefEnv({
set: [["browser.ipProtection.enabled", true]],
});

await IPProtectionServerlist.maybeFetchList();

Expand All @@ -158,6 +159,5 @@ add_task(async function test_IPPProxyManager_bug_1999946() {
);

sandbox.restore();
await cleanupAlpha();
cleanupService();
});
Loading
Loading