616 Commits

Author SHA1 Message Date
Valentin Gosu
482ff80cc3 Bug 1966583 - Add network.security.ports.banned to Android nimbus manifest r=necko-reviewers,geckoview-reviewers,geckoview-api-reviewers,ohall,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D249752
2025-05-23 22:58:03 +00:00
Valentin Gosu
cd0afc7f4a Bug 1963558 - Add GV API to enable DoH provider autoselect on Android r=geckoview-reviewers,android-reviewers,nalexander,geckoview-api-reviewers,ohall
This change adds a GV API to enable DoH provider autoselection when the browser
is in Default Protection mode for DoH.

The autoselect mechanism works by enabling DoHController when the API is enabled.
The DoHController will determine the user's georegion. If the remote-settings
collection doh-config indicates that rollout is enabled for that region,
DoHController will set the doh-rollout.mode and doh-rollout.uri prefs
which override the network.trr.mode and network.trr.uri prefs when they
haven't been previously changed by the user.

The autoselect mechanism will be enabled via nimbus experiment/rollout after
the DoH UI in Fenix is enabled.

Differential Revision: https://phabricator.services.mozilla.com/D247248
2025-05-22 18:00:58 +00:00
Dana Keeler
59a7b8c7ca Bug 1966033 - pass the list of acceptable issuers through to the android API for client auth certs r=jschanck,geckoview-reviewers,geckoview-api-reviewers,ohall,owlish
Differential Revision: https://phabricator.services.mozilla.com/D249184
2025-05-22 03:08:23 +00:00
Makoto Kato
6f380c21e1 Bug 1934115 - Don't dispose GeckoResult for content permission request. r=android-reviewers,owlish
When duplicated permission request is received, the `GeckoResult` for the
new request is disposed. It means that it is handled as `GeckoResult.DENY`.

Even if new permission request for geo location is same, we should merge
both with current prompt then handle all `GeckoResult` correctly.

Differential Revision: https://phabricator.services.mozilla.com/D242542
2025-05-21 09:00:08 +00:00
Ryan VanderMeulen
ba9d7aea61 Bug 1967292 - Update ktlint to version 1.6.0. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D250064
2025-05-20 12:15:55 +00:00
John Schanck
2e3870246d Bug 1958676 - avoid clobbering user-defined values of post-quantum key exchange prefs on android. r=keeler,geckoview-reviewers,android-reviewers,ohall
Previously the security.tls.enable_kyber and network.http.http3.enable_kyber
prefs would be updated at startup to the default value of
postQuantumKeyExchangeEnabled (defined in fenix/app/nimbus.fml.yaml). This
patch makes postQuantumKeyExchangeEnabled a tri-state with a default value that
indicates that the prefs should not be modified. The other two states can still
be used to control the prefs as part of a Nimbus experiment.

Differential Revision: https://phabricator.services.mozilla.com/D247375
2025-05-14 21:21:48 +00:00
Akhil Pindiprolu
20b5479244 Bug 1966179 - Remove unused shopping related data classes from AC r=npoon,android-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D249114
2025-05-14 01:21:54 +00:00
Roger Yang
5957e9d4df Bug 1929028 - Use AppLinksFeature to prompt the user. r=android-reviewers,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D247410
2025-05-13 16:46:04 +00:00
mcarare
1bb42cdd27 Bug 1964352 - Enable standard:no-single-line-block-comment rule. r=android-reviewers,nalexander
Replace single line block comments with EOL comments

Differential Revision: https://phabricator.services.mozilla.com/D248513
2025-05-09 13:56:39 +00:00
mcarare
7cf165fed2 Bug 1964352 - Enable standard:parameter-list-spacing ktlint rule and fix errors. r=geckoview-reviewers,android-reviewers,nalexander
Kotlin style guide: No new line before parameter type.

Differential Revision: https://phabricator.services.mozilla.com/D248505
2025-05-09 13:56:13 +00:00
mcarare
1b004b15ae Bug 1963256 - Replace @org.jetbrains.annotations.VisibleForTesting with @androidx.annotation.VisibleForTesting r=android-reviewers,jonalmeida
Removed VisibleForTesting annotation and changed access modifiers of following functions:
- `AddonPopupBaseFragment.provideBrowserStore` to be `private`
- `LanguageStorage.getUsableLocales` to be `private`

Differential Revision: https://phabricator.services.mozilla.com/D247073
2025-05-06 08:26:38 +00:00
Cathy Lu
9b43408e13 Bug 1952933 - Allow GeckoEngineSession to send more webcompat info r=geckoview-reviewers,android-reviewers,owlish,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D244833
2025-04-14 19:21:58 +00:00
Jonathan Almeida
80aeec1aa7 Bug 1872229 - Fix minor lint check failures in android-components r=android-reviewers,mcarare,webcompat-reviewers,twisniewski
We have moved more lint checks upstream to AC and these failures are
trivial to solve, rather than try to suppress.

Differential Revision: https://phabricator.services.mozilla.com/D236392
2025-04-11 04:37:30 +00:00
Cathy Lu
578ee1379e Bug 1958322 - onPictureInPictureModeChanged notifies GeckoSession of pip changes r=geckoview-reviewers,android-reviewers,ohall,007,owlish
Differential Revision: https://phabricator.services.mozilla.com/D244834
2025-04-11 03:39:51 +00:00
Cosmin Sabou
4f57f12727 Backed out changeset 1847ff330369 (bug 1958322) for causing Android failures on PictureInPictureFeatureTest. CLOSED TREE 2025-04-11 04:46:03 +03:00
Cathy Lu
8887422c7b Bug 1958322 - onPictureInPictureModeChanged notifies GeckoSession of pip changes r=geckoview-reviewers,android-reviewers,ohall,007,owlish
Differential Revision: https://phabricator.services.mozilla.com/D244834
2025-04-10 21:45:20 +00:00
smolnar
aaed8aeb2c Backed out 2 changesets (bug 1872229) for causing toolchain failures CLOSED TREE
Backed out changeset 2fd0c027ec2c (bug 1872229)
Backed out changeset 7efbd8e4381d (bug 1872229)
2025-04-10 03:38:28 +03:00
Jonathan Almeida
9956a54ab3 Bug 1872229 - Fix minor lint check failures in android-components r=android-reviewers,mcarare,webcompat-reviewers,twisniewski
We have moved more lint checks upstream to AC and these failures are
trivial to solve, rather than try to suppress.

Differential Revision: https://phabricator.services.mozilla.com/D236392
2025-04-09 22:32:23 +00:00
Makoto Kato
fb49b2fe5d Bug 1912095 - Part 2. Set text directive flag when loading Url from context menu. r=android-reviewers,boek
This is Fenix version of bug 1911339.

Differential Revision: https://phabricator.services.mozilla.com/D228760
2025-03-26 16:07:26 +00:00
Ryan VanderMeulen
d4312b4ad4 Bug 1955985 - Remove space-assignment usage in Gradle files. r=geckoview-reviewers,android-reviewers,webcompat-reviewers,twisniewski,adhingra,ohall
Differential Revision: https://phabricator.services.mozilla.com/D242727
2025-03-24 15:55:48 +00:00
Ryan VanderMeulen
56919cdfab Bug 1955461 - Replace Color.parseColor() with toColorInt(). r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D242440
2025-03-21 16:03:06 +00:00
Ryan VanderMeulen
131dc7b0c4 Bug 1955458 - Replace Uri.parse() with String.toUri(). r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D242439
2025-03-21 16:03:06 +00:00
Dana Keeler
3cebee186e Bug 1813930 - implement support for client auth certificates on android r=jschanck,geckoview-reviewers,android-reviewers,petru,owlish
Special thanks to Vladimir Vetrov <pdastore1@gmail.com>, who provided a patch
that would eventually inform parts of this patch (in particular, how to use
some of the certificate-related Android APIs).

Differential Revision: https://phabricator.services.mozilla.com/D238821
2025-03-12 16:16:17 +00:00
Luca Greco
7d7c0bce7b Bug 1935680 - Show full list of domains in Fenix optional permissions request dialog. r=android-reviewers,twhite,willdurand
Differential Revision: https://phabricator.services.mozilla.com/D238087
2025-03-04 13:25:48 +00:00
Aaditya Dhingra
5f9d749a96 Bug 1949260 - Part 2 - Replace DependenciesPlugin with gradle version catalog. r=geckoview-reviewers,android-reviewers,webcompat-reviewers,nalexander,twisniewski,owlish,jonalmeida,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D238804
2025-03-03 17:12:25 +00:00
Sean
3edde65ad4 Bug 1934262 - [DoH on Android] Part 3: Define states, actions, reducer, and middleware for DohSettings r=android-reviewers,sfamisa
Differential Revision: https://phabricator.services.mozilla.com/D231738
2025-02-24 20:18:14 +00:00
John Schanck
67af9389b6 Bug 1943686 - add a nimbus feature for post-quantum key exchange on android. r=geckoview-reviewers,android-reviewers,owlish,ohall
Differential Revision: https://phabricator.services.mozilla.com/D235514
2025-02-14 19:38:32 +00:00
Tim Huang
7125319559 Bug 1929224 - Don't set fingerprinting protection prefs during initializing the engine in Fenix. r=geckoview-reviewers,android-reviewers,ohall,owlish
During the initialization of Fenix, we will reset the fingerprinting
protection prefs, which is undesirable.

This patch changes this. We no longer set fingerprinting protection
prefs and will use the Gecko engine's settings directly unless the
setting is override by the Nimbus feature.

Differential Revision: https://phabricator.services.mozilla.com/D234832
2025-02-13 19:43:17 +00:00
Alexandru Marc
3ed0a6125b Backed out changeset 75209de560cc (bug 1929224) for causing fingerprint related junit failures CLOSED TREE 2025-02-12 16:25:38 +02:00
Tim Huang
ca142aa01f Bug 1929224 - Don't set fingerprinting protection prefs during initializing the engine in Fenix. r=geckoview-reviewers,android-reviewers,ohall,owlish
During the initialization of Fenix, we will reset the fingerprinting
protection prefs, which is undesirable.

This patch changes this. We no longer set fingerprinting protection
prefs and will use the Gecko engine's settings directly unless the
setting is override by the Nimbus feature.

Differential Revision: https://phabricator.services.mozilla.com/D234832
2025-02-12 12:51:53 +00:00
Malte Jürgens
f0baae640d Bug 1901120 - Set schemelessInput correctly on Android r=simonf,android-reviewers,geckoview-reviewers,m_kato,matt-tighe
This passes through the information about wether the input in the address bar
got fixed up with a http:// scheme in the beginning. This information is used to
exempt a site from HTTPS-First upgrading if the user specified an explicit
http:// scheme.

Differential Revision: https://phabricator.services.mozilla.com/D234324
2025-02-11 13:45:15 +00:00
Alexandru Marc
69bac46f86 Backed out changeset 1f419782aefe (bug 1901120) for causing android build bustages 2025-02-10 16:54:45 +02:00
Malte Jürgens
a59a77334a Bug 1901120 - Set schemelessInput correctly on Android r=simonf,android-reviewers,geckoview-reviewers,m_kato,matt-tighe
This passes through the information about wether the input in the address bar
got fixed up with a http:// scheme in the beginning. This information is used to
exempt a site from HTTPS-First upgrading if the user specified an explicit
http:// scheme.

Differential Revision: https://phabricator.services.mozilla.com/D234324
2025-02-10 11:37:06 +00:00
Zac McKenney
c8716ccd17 Bug 1911999 - Show all domains in the addons permissions prompt r=android-reviewers,rpl,twhite
Differential Revision: https://phabricator.services.mozilla.com/D223018
2025-02-07 16:58:05 +00:00
Goloman Adrian
a5291aa81e Backed out changeset b6cd2921f411 (bug 1901120) for causing android build bustages. CLOSED TREE 2025-02-06 18:41:24 +02:00
Malte Jürgens
9ba8cdd24f Bug 1901120 - Set schemelessInput correctly on Android r=simonf,android-reviewers,geckoview-reviewers,m_kato,matt-tighe
This passes through the information about wether the input in the address bar
got fixed up with a http:// scheme in the beginning. This information is used to
exempt a site from HTTPS-First upgrading if the user specified an explicit
http:// scheme.

Differential Revision: https://phabricator.services.mozilla.com/D234324
2025-02-06 13:15:44 +00:00
Cathy Lu
03c450d027 Bug 1941470 - Remove Fenix shopping, deprecate geckoview calls r=geckoview-reviewers,android-reviewers,007,ohall
Differential Revision: https://phabricator.services.mozilla.com/D236246
2025-02-05 15:29:05 +00:00
iorgamgabriel
2bbc4ab57c Bug 1937858 - Fix KDoc for getWebCompatInfo. r=android-reviewers,petru,npoon,calu
Differential Revision: https://phabricator.services.mozilla.com/D232970
2025-01-08 09:47:53 +00:00
Dana Keeler
ecfa655e10 Bug 1936904 - add nimbus feature to fenix to control certificate transparency mode r=geckoview-reviewers,android-reviewers,ohall,calu
Differential Revision: https://phabricator.services.mozilla.com/D231990
2025-01-07 16:39:03 +00:00
Ryan VanderMeulen
0cb4659021 Bug 1929236 - Run Robolectric tests on SDK 35. r=android-reviewers,mcarare
Differential Revision: https://phabricator.services.mozilla.com/D227988
2024-11-18 13:21:34 +00:00
Denis Palmeiro
b2951a6535 Bug 1928647: Add nimbus support for GC parallel marking. r=ohall,android-reviewers,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D227665
2024-11-13 22:31:40 +00:00
Cathy Lu
d37be721c3 Bug 1915296 - onBeforeUnload shouldDismissOnLoad should default to false r=android-reviewers,ajoltan,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D227878
2024-11-12 20:36:11 +00:00
Cathy Lu
3b8688938a Bug 1921885 - Add geckoview getWebCompatInfo API to GeckoEngineSession r=android-reviewers,rsainani
Differential Revision: https://phabricator.services.mozilla.com/D228396
2024-11-08 15:46:56 +00:00
Alexandru Marc
1c7c3fbb4e Backed out changeset 134f15f0f56c (bug 1921885) for causing build bustages @ EngineSessionTest.kt . CLOSED TREE 2024-11-08 16:59:01 +02:00
Cathy Lu
47b63120c2 Bug 1921885 - Add geckoview getWebCompatInfo API to GeckoEngineSession r=android-reviewers,rsainani
Differential Revision: https://phabricator.services.mozilla.com/D228396
2024-11-08 13:48:03 +00:00
Tim Huang
f79b19d057 Bug 1921289 - Implement the Nimbus feature third-party-cookie-blocking on Android. r=owlish,geckoview-reviewers,android-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D225967
2024-10-24 20:24:43 +00:00
Tamas Szentpeteri
66c8c5873c Backed out changeset e694408825e3 (bug 1921289) for causing bustages on Core.kt. CLOSED TREE 2024-10-24 22:34:40 +03:00
Tim Huang
4b6fbe378f Bug 1921289 - Implement the Nimbus feature third-party-cookie-blocking on Android. r=owlish,geckoview-reviewers,android-reviewers,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D225967
2024-10-24 18:23:02 +00:00
Andrew Creskey
79739d51eb Bug 1925390 - Add nimbus support for fetch priority on Android r=geckoview-reviewers,android-reviewers,amejiamarmol
We'd like to measure the performance impact of this networking feature on Android

Differential Revision: https://phabricator.services.mozilla.com/D226053
2024-10-23 17:32:46 +00:00
Arturo Mejia
73bd062ec2 Bug 1925597 - Add an Onboarding InstallationMethod to the addon manager r=extension-reviewers,android-reviewers,willdurand,twhite
Differential Revision: https://phabricator.services.mozilla.com/D226172
2024-10-22 21:31:03 +00:00