2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00
Commit Graph

5976 Commits

Author SHA1 Message Date
Arturo Mejia
1e64f87d67 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20881 print if the build is a MozillaOnline 2021-09-08 16:03:59 +00:00
Mozilla L10n Automation Bot
03932cc800 [fenix] Import l10n. 2021-09-08 01:17:08 +00:00
Elise Richards
4be9b84c20 [fenix] Dont clip bounds on recently saved bookmarks 2021-09-08 00:39:35 +00:00
Michael Comella
c5b2185119 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21138: change EXPECTED_RUNBLOCKING to range.
Compared with my local runs, CI sees +1 runBlockingIncrement calls so seems to
take other code paths. As such, we search for a range of rather than a single
value. The main downside I can think of is this could make the test trickier to
debug but we can wait and see if that's a problem in practice before taking
action on it.
2021-09-07 21:53:43 +00:00
Michael Comella
d4c2608670 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21138: re-enable excessive resource use test.
This test wasn't running in CI
https://github.com/mozilla-mobile/fenix/issues/20386 so we changed the
CI configuration so that it will. However, the test was then failing so
this is the revision that unignores the test.

I wonder if componentInit count is useful - it seems like it'd cause
more false positives than not - but I figure we can leave it in and see
how it goes.
2021-09-07 21:53:43 +00:00
Roger Yang
e7c3145fec [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/18711: Telemetry for credit card autofill 2021-09-07 19:16:04 +00:00
Mozilla L10n Automation Bot
5fe3efeb98 [fenix] Import l10n. 2021-09-07 00:34:03 +00:00
Mozilla L10n Automation Bot
09eb475097 [fenix] Import l10n. 2021-09-06 00:33:56 +00:00
Mozilla L10n Automation Bot
dac9585e2d [fenix] Import l10n. 2021-09-05 00:33:45 +00:00
Mozilla L10n Automation Bot
ce52e5510b [fenix] Import l10n. 2021-09-04 00:37:01 +00:00
Mozilla L10n Automation Bot
6c724c7f13 [fenix] Import l10n. 2021-09-03 08:10:58 +00:00
Arturo Mejia
c0e8005c76 [fenix] For 20892 Update connection icons in address bar 2021-09-02 23:52:55 +00:00
Christian Sadilek
193016b662 [fenix] Remove mocked lambdas from AccountSettingsInteractorTest 2021-09-02 21:44:35 +00:00
Christian Sadilek
e9b1f3fb81 [fenix] Add missing androidx.lifecycle dependencies 2021-09-02 21:44:35 +00:00
Mozilla L10n Automation Bot
9865ade3f8 [fenix] Import l10n. 2021-09-02 11:50:36 +00:00
czlucius
2d6dffe36a [fenix] For https://github.com/mozilla-mobile/fenix/issues/18727: Exit PiP when launched externally with Intents 2021-09-02 09:04:13 +00:00
Mickey Moz
dccc1133b1 [fenix] Update Android Components version (https://github.com/mozilla-mobile/fenix/pull/21109)
* Update Android Components version to 93.0.20210901143120.

* For https://github.com/mozilla-mobile/fenix/issues/21043 - Integrate AC changes

* Fix breaking API changes of RestoreAction

Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2021-09-01 18:08:19 -04:00
Christian Sadilek
cda4440bad [fenix] Do not run unit tests in parallel
This is to investigate the intermittent mockk class
generation/loading issues. Since we can not reproduce
locally and the failures are intermittent they could
be caused by us running unit tests in parallel.
2021-09-01 16:27:07 -04:00
codrut.topliceanu
bde4c0207a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19166: Increases tab_tray_list bottom padding
... to fit snackbar and FAB
2021-09-01 07:59:16 +00:00
Mozilla L10n Automation Bot
b4bf6f22fd [fenix] Import l10n. 2021-09-01 00:47:49 +00:00
Gabriel Luong
9d12ec623c [fenix] For https://github.com/mozilla-mobile/fenix/issues/21078 - Remove unused creditCardsFeature feature flag 2021-08-31 20:10:53 +00:00
Elise Richards
061e5bf6af [fenix] Include data review for renewed metrics 2021-08-31 18:28:05 +00:00
Elise Richards
2d433166a8 [fenix] Remove banner open in app telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
edd26c3363 [fenix] Remove search suggestions in private telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
4d2c0b9caf [fenix] Remove user specified search engine telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
17ad77ea02 [fenix] Remove private browsing shortcut telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
49c3b46145 [fenix] Fix data-review listed for default_browser_changed, toolbar_menu_visible, and toolbar_menu_clicked 2021-08-31 18:28:05 +00:00
Elise Richards
5abec1fb15 [fenix] Remove private browsing mode telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
1e05446283 [fenix] Remove tip telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
83416415b8 [fenix] Remove enable private search suggestions telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
49e6325de4 [fenix] Remove open links in private tab telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
61d95c4967 [fenix] Remove find in page telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
9c5bb84cb1 [fenix] Remove total uri count telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
dd398def06 [fenix] Remove about page telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
09132f35ac [fenix] Remove downloads management telemetry 2021-08-31 18:28:05 +00:00
Elise Richards
9a432d9f64 [fenix] Remove downloads misc telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
dbf3897680 [fenix] Remove download notification telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
cf2d620e0e [fenix] Remove master password telemetry. 2021-08-31 18:28:05 +00:00
Elise Richards
feb4af320b [fenix] Renew probes set to expire in September 2021-08-31 18:28:05 +00:00
Elise Richards
cc642da2e8 [fenix] Renew probes set to expire in October 2021-08-31 18:28:05 +00:00
Gabriel Luong
41f1202daa [fenix] For https://github.com/mozilla-mobile/fenix/issues/21037 - Add a delete history menu item
This removes the existing "Delete history" button in the History in favour of a menu item
2021-08-31 18:02:09 +00:00
Arturo Mejia
938992c39a [fenix] Add tint to settings icon on Tracking protection panel 2021-08-31 02:14:24 +00:00
Mozilla L10n Automation Bot
acb12761e4 [fenix] Import l10n. 2021-08-31 01:38:53 +00:00
AndiAJ
3af7f3dfd4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002 update and add missing tabs setting validations 2021-08-31 01:09:16 +00:00
Oana Horvath
2642dfc203 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20702: fix tests flakiness 2021-08-30 20:33:03 +00:00
Sebastian Kaspari
e38ed593d4 [fenix] Enable Android Autofill support in all build types. 2021-08-30 18:20:22 +00:00
Mozilla L10n Automation Bot
1bbf5bda7c [fenix] Import l10n. 2021-08-30 00:32:56 +00:00
Mozilla L10n Automation Bot
4df5f7f8b9 [fenix] Import l10n. 2021-08-29 00:39:20 +00:00
Gabriel Luong
054f6b5626 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21035 - Refactor HistoryViewInteractor from HistoryView into HistoryInteractor 2021-08-26 21:04:49 +00:00
Oana Horvath
e619f4b030 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21002: added page main menu items tests 2021-08-26 08:21:10 +00:00
Christian Sadilek
690f3e72f5 [fenix] Dedupe history metadata in groups based on url 2021-08-25 20:19:50 +00:00
Elise Richards
19c10c3779 [fenix] Update search metric expiration dates (https://github.com/mozilla-mobile/fenix/pull/21016) 2021-08-25 14:43:17 -04:00
Arturo Mejia
115cc74bb8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20919 add confirm dialog when turning on/off experiments 2021-08-24 23:47:14 +00:00
Arturo Mejia
38c5617b7e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20871 mark strings for removal 2021-08-24 23:15:06 +00:00
Elise Richards
d105e8bc19 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19931: Add telemetry probes for recent bookmarks on home screen (https://github.com/mozilla-mobile/fenix/pull/20316)
* Add telemetry probes for recent bookmarks on home screen. Tests for controller.

* Make the events into counters in the metrics ping

Update tests to reflect new metrics

Add data review link for new metrics

Mock new settings for startup metrics tests

Update metrics

Add test for recent bookmark glean events

* Recent bookmarks controller tests
2021-08-24 12:30:13 -07:00
Mugurell
7b7a252ecf [fenix] For https://github.com/mozilla-mobile/fenix/issues/20507 - Inactive tabs telemetry
Two new events are added:
- "inactive_tabs_expanded" for when the inactive tabs section is expanded
- "inactive_tabs_collapsed" for when the inactive tabs section is collapsed

For tracking when an inactive tab is opened / closed I've repurposed the
existing tabs tray telemetry (since the functionality uses the same code)
- tabs_tray.opened_existing_tab
- tabs_tray.closed_existing_tab
to support an extra "source" key indicating the feature from which a tab was
opened or closed. The current values for this new key are:
- "Tabs tray" for when a tab was opened/closed from tabs tray
- "Inactive tabs" for when a tab was openes/closed from the Inactive tabs
section of the tabs tray.
2021-08-24 12:10:58 +00:00
Mugurell
785a42edfd [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the Kotlin synthetics Lint detector
Since all usages of Kotlin synthetics are removed and no such code is generated
anymore there is no need to keep around this Detector anymore.
2021-08-24 10:26:36 +00:00
Mugurell
4466a39727 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the kotlin-android-extensions plugin
This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`

For https://github.com/mozilla-mobile/fenix/issues/17917 - Remove the `kotlin-android-extensions` plugin

This means no code will be generated by Kotlin Android Extensions for caching
views and also for @Parcelize annotated classes.

As recommended in the official documentation
https://developer.android.com/topic/libraries/view-binding/migration#gradle
we need to switch on using `kotlinx.parcelize.Parcelize` instead of
`import kotlinx.android.parcel.Parcelize`
2021-08-24 10:26:36 +00:00
Mugurell
9959334a26 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Finish migrating all synthetics usages 2021-08-24 10:26:36 +00:00
codrut.topliceanu
ecae7a61be [fenix] For https://github.com/mozilla-mobile/fenix/issues/20328 - Adds telemetry for recentlyClosed button
...from tabsTray, inactiveTabs section.
2021-08-24 09:52:33 +00:00
Oana Horvath
d689ee206f [fenix] For https://github.com/mozilla-mobile/fenix/issues/20716: re-enables mainMenuInstallPWATest UI test 2021-08-24 08:25:34 +00:00
Oana Horvath
eb8aeec73e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20868, https://github.com/mozilla-mobile/fenix/issues/18764: Update Tracking Protection UI tests 2021-08-24 08:25:34 +00:00
Grisha Kruglov
dd1b4ba5ae [fenix] Closes 20975: Run metadata cleanup after Megazord.init()
This ensures that we do not attempt places initialization before
Megazord.init() finishes, and that touching BrowserStore does not
kick-off places initialization (due to the `cleanup` call being a
side-effect of creating metadata middleware, used as part of the
BrowserStore).

Glean initialization happens before initialize megazord, and it touches
core.store BrowserStore instance, kicking-off places initialization on
an IO thread (due to the cleanup call), which raced megazord
initialization on the main thread.

App init sequence is a bit of a mine-field, so this patch takes the easy
way out and doesn't attempt to re-order initialization sequence. Also,
initializing places as a side-effect of touching BrowserStore was also,
clearly, a bug.
2021-08-23 22:29:46 +00:00
codrut.topliceanu
48eff4f831 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in add-ons 2021-08-23 15:49:22 +00:00
Mugurell
f826174109 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20586 - Put everything behing a secret setting
Not ready for prime-time. Lot of work still to be done.
2021-08-23 14:38:06 +00:00
Mugurell
b1cc91a9ac [fenix] For https://github.com/mozilla-mobile/fenix/issues/20586 - Basic Jetpack Compose implementation.
This is just the basic skeleton for the feature.
2021-08-23 14:38:06 +00:00
Arturo Mejia
96042fa50a [fenix] For https://github.com/mozilla-mobile/fenix/issues/20892 update connection icons in quick settings 2021-08-23 13:35:45 +00:00
mcarare
2adea3fd40 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20927: Replace icons with AC icons. 2021-08-23 08:16:55 +00:00
rxu
d457385e79 [fenix] Use armeabi-v7a version code for MozillaOnline builds 2021-08-23 05:51:00 +00:00
Arturo Mejia
06f86c42c4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20919 quite the app when turning on/off experiments 2021-08-23 03:39:55 +00:00
Rohan Maity
7ffaefd3fd [fenix] For https://github.com/mozilla-mobile/fenix/issues/20596 remove startup timeline probes 2021-08-22 00:57:10 +00:00
Jonathan Almeida
d2b9962319 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20945: Fix failing test in AccountSettingsInteractorTest 2021-08-20 21:23:25 +00:00
Jonathan Almeida
eae779d231 [fenix] Speculative fixes intermittent test in DeleteAndQuitTest 2021-08-20 19:26:42 +00:00
Arturo Mejia
b50ecb92b4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20919 quit the after removing a study. 2021-08-20 15:07:00 +00:00
codrut.topliceanu
4e917c5eac [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in tabs tray 2021-08-20 14:18:39 +00:00
Mugurell
5b99139048 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Migrate home from Kotlin synthetics to View Binding. 2021-08-20 13:45:05 +00:00
Mugurell
b38f717c4b [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917 - Migrate browser from Kotlin synthetics to View Binding. 2021-08-20 13:15:39 +00:00
codrut.topliceanu
c0d03b3d1e [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in Login Exceptions 2021-08-20 09:44:12 +00:00
rxu
36aed742b3 [fenix] Add event ping telemetry for the Baidu top site click 2021-08-20 03:46:20 +00:00
Grisha Kruglov
988712dd63 [fenix] Enable recording of history metadata for all builds
This allows recording part of history metadata to ride the trains.
The UI features are still guarded by the secret settings flag (or,
enabled on debug builds).
2021-08-19 23:07:06 +00:00
Arturo Mejia
a82a02a9e7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20890 when TP is off globally hide TP section on quick settings. 2021-08-19 22:36:25 +00:00
Roger Yang
1928220c0d [fenix] Restore unused string tab_collection_dialog_negative 2021-08-19 21:46:56 +00:00
Grisha Kruglov
9268b550c2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/20901: Do not record viewTime observations when we do not have a set lastAccess
The bug here was that we'd try to record `now - 0` as a viewTime delta.
This isn't just an obviously wrong value to record, but it will also
overflow our storage - we'll end up with a value on disk that doesn't
fit into an i32, but HistoryMetadata.total_view_time is i32 in our Rust
struct. Once that happens, reads that touch this bad row will result in
an overflow and a crash.
2021-08-19 13:30:32 -07:00
Roger Yang
0a2cdff945 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/2783: Add snackbar to collection deletion 2021-08-19 17:06:45 +00:00
codrut.topliceanu
c4bc780c28 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20716 - Disables Intermittent failing UI test 2021-08-19 16:10:12 +00:00
Sebastian Kaspari
b9d7552339 [fenix] metrics.yaml: Add data review URL for Android Autofill metrics 2021-08-19 15:13:37 +00:00
Roger Yang
52cb17d12a [fenix] Update Android Components version 2021-08-19 14:04:18 +00:00
Jonathan Almeida
aded72af41 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/20864: Speculative fix for HomeFragmentTest failures 2021-08-18 08:55:45 +00:00
codrut.topliceanu
5e0b094e4f [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in tracking protection(2) 2021-08-18 07:40:26 +00:00
Michael Comella
c80a53f93e [fenix] For https://github.com/mozilla-mobile/fenix/issues/20824: use fast service loader for MainDispatcherFactory.
For details on the root cause, see the commit. We replaced the similar
proguard rules because:
- the key line was returning false instead of true
- the other line had the same outcome as the written code. I believe it
  was a micro-optimization. Since perf seems fine without it, let's
  remove it

I benchmarked this change on COLD MAIN first frame. We see an
improvement of 89ms:
- before: 1346ms
- after: 1257ms
2021-08-18 03:59:44 +00:00
codrut.topliceanu
a4a1f6ddaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in Share views 2021-08-18 03:27:17 +00:00
codrut.topliceanu
179dd793ad [fenix] For https://github.com/mozilla-mobile/fenix/issues/17917: Use View binding in Onboarding Tests 2021-08-18 02:47:50 +00:00
Arturo Mejia
33ac87cbd3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 use block color on disabled permissions 2021-08-17 01:42:42 +00:00
Mozilla L10n Automation Bot
841b304f0d [fenix] Import l10n. 2021-08-17 00:36:38 +00:00
Jonathan Almeida
591d6744df [fenix] Close https://github.com/mozilla-mobile/fenix/issues/20796: Additional fixes for intermittent failing test
Fixes for TrackingProtectionExceptionsInteractorTest to remove the lamba
mocking and test actual BrowserState changes instead (where possible).
2021-08-16 22:54:22 +00:00
Arturo Mejia
93f23aa750 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 integrate view binding. 2021-08-16 16:42:39 -04:00
Arturo Mejia
2e60b8d80a [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 fix ui tests 2021-08-16 16:42:39 -04:00
Gabriel Luong
2d6dcb814c [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Add a back navigation to the Global Quick Settings from the Tracking Protection dialog 2021-08-16 16:42:39 -04:00
Arturo Mejia
39dc0701a8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Improve quick setting dialogs navigation 2021-08-16 16:42:39 -04:00
Gabriel Luong
c9575d0d62 [fenix] For https://github.com/mozilla-mobile/fenix/issues/19886 - Remove tracking protection overlay CFR 2021-08-16 16:42:39 -04:00