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

7325 Commits

Author SHA1 Message Date
Sebastian Kaspari
74500adfb5 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21172: Replace BrowserAwesomeBar view with AwesomeBar() composable. 2021-09-22 12:57:26 +00:00
MickeyMoz
832cae98dc [fenix] Update Android Components version to 94.0.20210922091950. 2021-09-22 10:41:02 +00:00
Gabriel Luong
bc30e53e5d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21408 - Pass the corresponding HistoryMetadataKey to openToBrowserAndLoad and addTab use case 2021-09-22 08:15:08 +00:00
Gabriel Luong
793ceb8e28 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20893 - Search term groups in history 2021-09-22 08:15:08 +00:00
AndiAJ
2b55e561fb [fenix] Exit onboarding tour UI tests 2021-09-22 07:06:50 +00:00
Mozilla L10n Automation Bot
13ce5a86bd [fenix] Import l10n. 2021-09-22 01:59:21 +00:00
Michael Comella
275ac7ad5b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21126: process performancetest intent for AC too. 2021-09-21 20:49:12 +00:00
rayanHappy
1b6c555758 [fenix] Fix QR scan button not showing up when choosing a RTL language 2021-09-21 16:20:56 -04:00
Arturo Mejia
c3df9a26d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21239 add telemetry for Allow users to customize their home screen 2021-09-21 15:55:03 -04:00
Christian Sadilek
e18fbdfbfc [fenix] Make sure to only record view time once for a given tab access
Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
2021-09-21 12:37:44 -07:00
MickeyMoz
3fb4714544 [fenix] Update Android Components version to 94.0.20210921143125. 2021-09-21 16:45:33 +00:00
Mozilla L10n Automation Bot
16f3396473 [fenix] Import l10n. 2021-09-21 00:47:29 +00:00
Elise Richards
d387f7281c [fenix] No issue: remove escape chars on add logins string 2021-09-20 21:30:16 +00:00
Grisha Kruglov
6297f2cce9 [fenix] Use UpdateUrlAction to record viewTime observations
We discovered that in a tab restore scenario we were recording view time
observations that were wrong - we'd record time deltas as-if user was
looking at the page while the browser wasn't running.

This happens because when we record a viewTime observation, we compare
current time with lastAccess time of the tab. In a restore scenario,
that lastAccess time happens to be from when the browser was last
running - which could be days ago.

The simplest solution was to not record a viewTime observation if the
url for a tab didn't change during a load event. To achieve this, we
needed to change which action we were using as a proxy for "navigation
events" - UpdateUrlAction contains the new url, allowing us to compare
against the current tab url.

Alternative solutions would be to keep using loading actions, but
dispatch a lastAccess event before performing a metadata update. This
would have worked, but would result in two lastAccess events being
dispatched for each navigation event instead of just one.
2021-09-20 20:14:04 +00:00
Elise Richards
48c0d7faee [fenix] For https://github.com/mozilla-mobile/fenix/issues/21337: rename recently saved section on home 2021-09-20 19:42:19 +00:00
Christian Sadilek
473f671f1c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21388: Only parse clipboard content when search fragment is attached 2021-09-20 14:31:08 -04:00
Jonathan Almeida
9d6367a607 [fenix] Close https://github.com/mozilla-mobile/fenix/issues/21366: Fix intermittent test failure in TitleHeaderBindingTest 2021-09-20 17:47:17 +00:00
AndiAJ
0884f54fe8 [fenix] Improve coverage for verifyAboutFirefoxPreview 2021-09-20 09:41:23 +00:00
Mozilla L10n Automation Bot
1ae41010df [fenix] Import l10n. 2021-09-20 00:38:29 +00:00
MickeyMoz
3d678da8c3 [fenix] Update Android Components version to 94.0.20210919202539. 2021-09-19 21:58:50 +00:00
MickeyMoz
9cbc666a2d [fenix] Update Android Components version to 94.0.20210919143155. 2021-09-19 16:32:04 +00:00
Mozilla L10n Automation Bot
530d6a0cf8 [fenix] Import l10n. 2021-09-19 00:34:04 +00:00
MickeyMoz
592e76188f [fenix] Update Android Components version to 94.0.20210917190109. 2021-09-18 16:50:12 +00:00
Mozilla L10n Automation Bot
1f0efff72e [fenix] Import l10n. 2021-09-18 00:40:46 +00:00
Michael Comella
9c2e6eee78 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21296: add ProfilerMarkers.addForDispatchTouchEvent. 2021-09-17 23:06:50 +00:00
Michael Comella
49294996e2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21299: add duration markers for HomeActivity Create/Start.
We only instrument these methods because they're the only ones that
noticeably long running in the current implementation.
2021-09-17 22:34:01 +00:00
Michael Comella
4a132b958b [fenix] For https://github.com/mozilla-mobile/fenix/issues/21299: add duration marker for IntentReceiverActivity.onCreate.
We only instrument onCreate because it's the only one with an
implementation.

While declaring this as a function that accepts a lambda is less
fragile, we've previously had issues with it such as suspected memory
leaks when used for telemetry. Therefore, we go with the simpler
approach.
2021-09-17 22:34:01 +00:00
Michael Comella
f53adc5b12 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21299: add markers for all activity lifecycle callbacks.
We implement these all in the same track because between it'd create a
lot noise between this and fragment lifecycle callbacks.
2021-09-17 22:34:01 +00:00
Roger Yang
21c8f3d1a0 [fenix] Update tabs tray title header string comment to clarify what it does. 2021-09-17 21:07:30 +00:00
Michael Comella
8d5a7606f4 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21335: return self instead of mock in FenixSnackbarKtTest.
This is a speculative fix for the intermittent issue. Typically, these
intermittents are caused by mocked lambdas but there is no mocked lambda
here. If this doesn't work, one `any()` argument fills in for a lambda:
it's possible that's causing the failure.

Unfortunately, I can't verify this fix easily because the "run test until
failure" option was removed from Android Studio.

See d396c9eb41298cc07fbf136f1de971010bc45d97 for a prior attempt to
address the intermittents in this class.
2021-09-17 18:18:03 +00:00
Jonathan Almeida
c2d385f142 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21236: Fixes empty tray visibility logic
This is a bug we noticed after landing search term grouping.

An adapter can submit an empty list of items to the `ConcatAdapter`
early. This has the side-effect of triggering our `observeFirstInsert`
too soon and therefore updating the visibility to show the empty tray
placeholder and never switches back.

Our solution is to keep a constant observer on the adapter so we can
perform the visibility check on every insert/remove.

Co-authored-by: Roger Yang <royang@mozilla.com>
2021-09-17 13:48:08 -04:00
Sebastian Kaspari
b239d7d934 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21291: SearchDialogFragment: Get URL from clipboard once and not for every state update 2021-09-17 08:10:04 +00:00
Roger Yang
02cbf2953f [fenix] For https://github.com/mozilla-mobile/fenix/issues/21236: Separate tabs with the same search term into a different section (https://github.com/mozilla-mobile/fenix/pull/21177)
* For https://github.com/mozilla-mobile/fenix/issues/21236: Separate tabs with the same search term into a different section in tabs tray

* Issue https://github.com/mozilla-mobile/fenix/issues/21236: Scroll to selected tab + various tab fixes for groupings

* Issue https://github.com/mozilla-mobile/fenix/issues/21236: Fix failing test

Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2021-09-17 03:26:34 +00:00
MickeyMoz
9e623667e8 [fenix] Update Android Components version to 94.0.20210916214430. 2021-09-17 02:01:04 +00:00
Mozilla L10n Automation Bot
47805dc6bb [fenix] Import l10n. 2021-09-17 00:26:32 +00:00
Arturo Mejia
96e083e5b3 [fenix] Update strings comments 2021-09-16 22:41:49 +00:00
Michael Comella
336d681451 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: add profiler markers on global layout. 2021-09-16 22:09:44 +00:00
Michael Comella
595a81aec2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: set up HomeActivityBinding the recommended way.
The recommended way is here:
https://developer.android.com/topic/libraries/view-binding

I was concerned with the existing implementation that binding was being
set conditionally.
2021-09-16 22:09:44 +00:00
Michael Comella
6e63dce89d [fenix] For https://github.com/mozilla-mobile/fenix/issues/21309: remove outdated comment regarding async nav graph. 2021-09-16 22:09:44 +00:00
Aaron Train
214d88f7c2 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/21340: Disable auto Google login in Flank config (https://github.com/mozilla-mobile/fenix/pull/21341) 2021-09-16 17:30:30 -04:00
Michael Comella
2dc9cfec20 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/18102: remove intermittent failing App onCreate duration measurement test.
The test as it exists relies on the robolectric lifecycle, which is hard
to predict, so it doesn't seem worth fixing the test. Writing the test
any other way would require excessive mocking, which also seems
impractical.
2021-09-16 20:17:26 +00:00
rxu
e78754d598 [fenix] Add default topsite 58 for MozillaOnline builds 2021-09-16 19:42:54 +00:00
Arturo Mejia
5ce4a31be5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/21095 add customize home button on the home screen. 2021-09-16 14:58:45 -04:00
Gabriel Luong
b057d6a76f [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/21099 - Update items under "Jump back in" section to the latest designs 2021-09-16 07:07:20 +00:00
Christian Sadilek
d4a454442b [fenix] Sort history metadata on home and allow limiting results 2021-09-16 01:03:29 +00:00
Mozilla L10n Automation Bot
ae40da34f8 [fenix] Import l10n. 2021-09-16 00:32:52 +00:00
Michael Comella
5504314468 [fenix] No issue: add gve to setup-startup-profiling.py. 2021-09-15 21:44:52 +00:00
Michael Comella
9cefe650b3 [fenix] No issue: convert to argparse in setup-startup-profiling.py. 2021-09-15 21:44:52 +00:00
MickeyMoz
6231a51b06 [fenix] Update Android Components version to 94.0.20210914190126. 2021-09-15 18:09:53 +00:00
Michael Comella
535de74483 [fenix] For https://github.com/mozilla-mobile/fenix/issues/20936: run perftests with conditioned profiles.
We've noticed that geckoview_example is ~300ms faster than fenix in cold page
load tests on arewefastyet for the Pixel 2. We suspect the main
difference is because geckoview_example runs with conditioned profiles
and fenix does not.

This PR is foremost an experiment to see if that's true because, after bug
1587542, we cannot run get results for fenix perftest PRs (i.e. it needs to be
merged into main). If we find that the results are not noisy, however, we
could end up leaving this in the tree. We've previously seen excessive
noise with fenix start up tests with conditioned profiles which is why
conditioned profiles are not currently enabled.
2021-09-15 16:21:44 +00:00