435 Commits

Author SHA1 Message Date
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
kycn
3ac89c1367 Bug 1965261 - Initialize translations flow when page load is completed. r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D249246
2025-05-16 19:24:02 +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
735eb0a612 Bug 1964352 - Enable standard:unnecessary-parentheses-before-trailing-lambda rule and fix errors. r=android-reviewers,nalexander
Kotlin style guide: No empty parentheses are needed before trailing lambda.

Differential Revision: https://phabricator.services.mozilla.com/D248510
2025-05-09 13:56:32 +00:00
Cathy Lu
0e3fe83be8 Bug 1958268 - Set custom tab's tablet default to desktop mode r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D247518
2025-05-05 05:48:55 +00:00
Jonathan Almeida
a578141d2f Bug 1963471 - Move TranslationsMiddleware out of EngineMiddleware list r=kaya,ohall,android-reviewers
This is purely for code cleanup to avoid unnecessary patterns.

Differential Revision: https://phabricator.services.mozilla.com/D247189
2025-05-02 03:11:35 +00:00
rahulsainani
abe2a85ca5 Bug 1957985 - Store etag in DownloadEntity r=android-reviewers,npoon,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D244606
2025-04-30 08:06:44 +00:00
Jeff Boek
2fb203f777 Bug 1958042 - Control when we initialize Translations r=android-reviewers,kaya
This patch does two things:
1. Added parameters to `TranslationsMiddleware` and `EngineMiddleware.create` to give the client the ability to control when translations initializes.
2. Adds initializing translations to the `visualCompletenessQueue`.

Differential Revision: https://phabricator.services.mozilla.com/D245654
2025-04-16 04:13:46 +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
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
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
Harrison Oglesby
9149a55e02 Bug 1955392 - Remove data objects created in 1930036 r=android-reviewers,adhingra
Differential Revision: https://phabricator.services.mozilla.com/D242403
2025-03-20 21:30:08 +00:00
iorgamgabriel
fb18d37428 Bug 1953704 - Remove the file exists check in DownloadUIMapperMiddleware. r=android-reviewers,rsainani,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D241403
2025-03-20 11:18:28 +00:00
Norisz Fay
3ab4412203 Backed out changeset 8281e9a82d20 (bug 1953704) for causing lint failures CLOSED TREE 2025-03-20 11:24:46 +02:00
iorgamgabriel
5ca3ca45b6 Bug 1953704 - Remove the file exists check in DownloadUIMapperMiddleware. r=android-reviewers,rsainani,tthibaud
Differential Revision: https://phabricator.services.mozilla.com/D241403
2025-03-20 08:33:11 +00:00
Cathy Lu
fe90265d92 Bug 1938133 - Add telemetry event when tab is killed and reloads r=android-reviewers,kaya
Differential Revision: https://phabricator.services.mozilla.com/D240795
2025-03-13 14:42:26 +00:00
Ryan VanderMeulen
49e0856e97 Bug 1953767 - Switch to Packaging DSL API and remove unnecessary rules. r=android-reviewers,adhingra
Differential Revision: https://phabricator.services.mozilla.com/D241379
2025-03-13 12:58:21 +00:00
Ryan VanderMeulen
47e4ad86fe Bug 1897958 - Clean up Kotlin compiler options. r=geckoview-reviewers,android-reviewers,owlish,adhingra
Differential Revision: https://phabricator.services.mozilla.com/D220939
2025-03-06 23:24:14 +00:00
Ryan VanderMeulen
1b7c05831c Bug 1897958 - Update Gradle files for Kotlin 2.x and Compose Compiler changes. r=geckoview-reviewers,android-reviewers,tthibaud,owlish
Differential Revision: https://phabricator.services.mozilla.com/D213832
2025-03-06 23:24:14 +00:00
Jeff Boek
11c0a6758b Bug 1950220 - Pauses any playing media when we queue a tab to close r=android-reviewers,matt-tighe
Differential Revision: https://phabricator.services.mozilla.com/D240668
2025-03-06 23:15:05 +00:00
Jeff Boek
aefb8aacaf Bug 1947494 - Moves loading application search engines into a middleware r=android-reviewers,matt-tighe,gl
Differential Revision: https://phabricator.services.mozilla.com/D239068
2025-03-04 18:27:05 +00:00
Jeff Boek
5a6fc7a77b Bug 1950991 - Serializes access to sessionsPendingDeletion r=android-reviewers,kaya
Differential Revision: https://phabricator.services.mozilla.com/D239962
2025-03-04 18:20:21 +00:00
t-p-white
396e59782a Bug 1949717 - Part 7: Update the 'learn more' custom tabs to have reduced options to prevent bypassing the onboarding flow r=android-reviewers,rebecatudor273,mavduevskiy
Differential Revision: https://phabricator.services.mozilla.com/D239194
2025-03-04 18:06:41 +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
Titouan Thibaud
752f67a0b6 Bug 1942838 - Sharing a local PDF from the toolbar button will share the actual file r=android-reviewers,calu,npoon
Differential Revision: https://phabricator.services.mozilla.com/D235000
2025-02-12 11:24:57 +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
Sanchaai
9557dcca83 Bug 1944701 - Part 1: Add Trending URL support for search engines. r=android-reviewers,gl
Implement the ability to initialize search engines with a trending URL (by parsing its XML file).

Differential Revision: https://phabricator.services.mozilla.com/D236986
2025-02-10 01:27:15 +00:00
Harrison Oglesby
04c22f4deb Bug 1930036 - Add data objects for SearchEngineSelector API r=android-reviewers,skhan
Differential Revision: https://phabricator.services.mozilla.com/D234719
2025-02-07 17:38:37 +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
Noah Bond
7f40a282ac Bug 1918655 - Do not open the parent tab of a child tab if the child tab is not selected r=android-reviewers,boek
Differential Revision: https://phabricator.services.mozilla.com/D234767
2025-01-21 18:47:46 +00:00
Jeff Boek
9da314a63e Bug 1892751 - Monitor engineSession after closing tab for last state update. r=android-reviewers,kaya
Differential Revision: https://phabricator.services.mozilla.com/D222034
2025-01-21 17:25:40 +00:00
mcarare
906985bcef Bug 1939824 - Replace deprecated Locale constructors. r=android-reviewers,avirvara
Depends on D234150

Differential Revision: https://phabricator.services.mozilla.com/D234151
2025-01-20 08:57:46 +00:00
Roger Yang
e1e0ce3be5 Bug 1940543 - Search for custom tab in app links interceptor when deciding if the tab is used for authentication. r=android-reviewers,pollymce
Differential Revision: https://phabricator.services.mozilla.com/D233881
2025-01-13 23:11:50 +00:00
Titouan Thibaud
1039fbc599 Bug 1807154 - Persist desktop mode for tabs and restore them when Fenix is reopened r=android-reviewers,007
Differential Revision: https://phabricator.services.mozilla.com/D232876
2025-01-13 13:32:01 +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
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
Mugurell
fca940ddc6 Bug 1919171 - Ensure all dispatched actions are processed before test assertions r=android-reviewers,tchoh
The system under test functions with:
- dispatching an action in coroutineA
- handling it in a middleware which launches another coroutine - coroutineB from which
it dispatches another action. In this time coroutineA might have completed.
- another middleware needs to handle this last action

So we need to ensure all store actions have been processed before checking this in tests.

Differential Revision: https://phabricator.services.mozilla.com/D227521
2024-11-04 07:13:39 +00:00
Nicholas Poon
cca579d1f2 Bug 1920092 - Make PDFs from Fenix open in Fenix r=android-reviewers,rsainani
Differential Revision: https://phabricator.services.mozilla.com/D225118
2024-10-30 12:58:08 +00:00