2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-05 21:20:45 +00:00
Commit Graph

3495 Commits

Author SHA1 Message Date
Grisha Kruglov
b707ec4a38 [fenix] Initialize storage after visual completeness
In order to eat the perceived performance costs, we initialize storage
once we're visually complete. This way, we're reducing chances of user performing
a UI action which will trigger storage init and delay said action.
2020-03-19 15:46:50 -07:00
Grisha Kruglov
51a31a42ba [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/7450: Lazy storage initialization
Make sure that we actually lazily initialize our storage layers.

With this patch applied, storage layers (history, logins, bookmarks) will be initialized when first
accessed. We will no longer block GeckoEngine init, for example, on waiting for the logins storage
to initialize (which needs to access the costly securePrefStorage).
Similarly, BackgroundServices init will no longer require initialized instances of the storage
components - references to their "lazy wrappers" will suffice.

In practice, this change changes when our storage layers are initialized in the following ways.
Currently, we will initialize everything on startup. This includes loading our megazord, as well.

With this change, init path depends on if the user is signed-into FxA or not.

If user is not an FxA user:
- on startup, none of the storage layers are initialized
- history storage will be initialized once, whenever:
  - first non-customTab page is loaded (access to the HistoryDelegate)
  - first interaction with the awesomebar
  - history UI is accessed
- bookmarks storage will be initialized once, whenever:
  - something is bookmarked, or we need to figure out if something's bookmarked
  - bookmarks UI is accessed
- logins storage will be initialized once, whenever:
  - first page is loaded with a login/password fields that can be autofilled
  - (or some other interaction by GV with the autofill/loginStorage delegates)
  - logins UI is accessed
- all of these storages will be initialized if the user logs into FxA and starts syncing data
  - except, if a storage is not chosen to be synced, it will not be initialized

If user is an FxA user:
- on startup, none of the storage layers are initialized
- sometime shortly after startup is complete, when a sync worker runs in the background, all storage
layers that are enabled to sync will be initialized.

This change also means that we delay loading the megazord until first access (as described above).
2020-03-19 15:46:50 -07:00
Aaron Train
5aad0aaf8c [fenix] No issue: Swap AVD (x86) Nexus 6 (API 25) with a Nexus6P (API 27) (https://github.com/mozilla-mobile/fenix/pull/9259)
The Nexus 6 (x86 AVD) on API 25 is causing too many instablility issues. Let’s see what happens with a Nexus 6P on API 27.
2020-03-19 17:30:27 -04:00
Gregory Mierzwinski
4b07de3b17 [fenix] Bug 1623601 - Add visual metrics tasks to nightly browsertime tests. (https://github.com/mozilla-mobile/fenix/pull/9248) 2020-03-19 14:58:15 +01:00
mcarare
777aa7f2dc [fenix] For https://github.com/mozilla-mobile/fenix/issues/8600:Increase space below left checkbox preference 2020-03-19 15:41:05 +02:00
mcarare
1a8b4ce6dd [fenix] For https://github.com/mozilla-mobile/fenix/issues/8591: Allow items in quick_action_sheet to be read by a11y services 2020-03-19 15:18:40 +02:00
mcarare
9b0a7baa73 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9140: Remove drawable from title in empty state panes 2020-03-19 14:32:40 +02:00
MickeyMoz
394e1635c1 [fenix] Update Android Components version to 37.0.20200318190037. 2020-03-19 13:47:16 +02:00
Ryan Kelly
7d08e36843 [fenix] Add support for application-services autoPublish local dev workflow. 2020-03-19 10:51:08 +02:00
Arturo Mejia
8405dade26 [fenix] Remove @ObsoleteCoroutinesApi from tests 2020-03-18 17:25:51 -07:00
Arturo Mejia
397ce4da6d [fenix] No issue: Add serverConfig param to FxaWebChannelFeature 2020-03-18 17:25:51 -07:00
Arturo Mejia
51c24af724 [fenix] Update Android Components version 2020-03-18 17:25:51 -07:00
Arturo Mejia
bc61f5151c [fenix] Remove @UseExperimental for usages of the flow api 2020-03-18 17:25:51 -07:00
mcarare
2e157e75fc [fenix] For https://github.com/mozilla-mobile/fenix/issues/9200: Remove star icon from empty state icon in toolbar 2020-03-18 10:23:50 -07:00
mcarare
eb3eb5dea2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8814: Change icon asset for top sites menu option 2020-03-18 08:30:33 -07:00
Mozilla L10n Automation Bot
2bf92e8e5f [fenix] Import l10n. 2020-03-18 15:02:07 +01:00
liuche
8d8e4c9775 [fenix] Bug 1621252 - Move Fenix Raptor tests to tier 1 (https://github.com/mozilla-mobile/fenix/pull/9217)
Co-authored-by: Florin Strugariu <bebe@mozilla.ro>
Co-authored-by: Johan Lorenzo <jlorenzo@mozilla.com>
2020-03-18 14:47:54 +01:00
Jonathan Almeida
061af2c380 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7661: Add variant-specific schemas for deep links
In order to target specific variants of Fenix, we're adding schemas that
are specific that app in order to avoid collisions with the other
variants and with other forks of fenix that may have the same schemas.

The current schema for variants:
 - Fenix Nightly: `fenix-nightly://`
 - Fenix Beta: `fenix-beta://`
 - Everything else: `fenix://`
2020-03-17 17:21:09 -04:00
Johan Lorenzo
364400391b [fenix] write-dummy-secret.py: clean unused json logic 2020-03-17 13:48:09 -07:00
Sawyer Blatz
efaf85ca4b [fenix] For https://github.com/mozilla-mobile/fenix/issues/3086: Adds settings animations (https://github.com/mozilla-mobile/fenix/pull/9187) 2020-03-17 12:35:00 -07:00
Gregory Mierzwinski
a02c283a0e [fenix] Bug 1613483 - Add all Browsertime tests with visual metrics to Fenix repo. (https://github.com/mozilla-mobile/fenix/pull/9087)
* Add visual-metrics docker type.

* Add required browsertime toolchain fetches.

* Add browsertime tests for technical and visual metrics.

* Run browsertime tests in a cron task.

* Run visual metrics on all browsertime tests.

* Use spaces instead of tabs, and resolve visual-metric nits.

* Enable browsertime on pull request for testing.

* Restrict PR tests to amazon on browsertime.

* First attempt using multi_dep.

* Add a primary dependency to browsertime.

* Try by not popping.

* Debug prints.

* Make one grouping per browsertime task.

* Try without the multi_dep transform.

* Delete dependent-tasks in visual-metrics transformer.

* Update setuptools installed and copy run-on-tasks-for.

* Use get when getting run-on-tasks-for.

* Add new pinned requirements.

* Try it.

* Set run-on-tasks-for properly.

* Remove print statement.

* Remove single_dep loader, and print statements.

* Remove run-on-tasks-for testing setting.

* Restart testing, and set user to root in visual-metrics Docker.

* Remove testing settings.

* Remove fetch-content from Docker.

* Change attributes grouping method.

* Run all tests as a check.

* Undo testing changes, and fix a bad test name.
2020-03-17 18:21:41 +01:00
Christian Sadilek
30ce746bb0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8808 https://github.com/mozilla-mobile/fenix/issues/9139: Add-on should be able to configure how to open options page 2020-03-17 12:34:07 -04:00
Edouard Oger
0ab28e9a0a [fenix] Prepare for a-c a-s upgrade 2020-03-17 11:49:54 -04:00
MickeyMoz
01872d313f [fenix] Update Android Components version to 37.0.20200317130045. 2020-03-17 11:49:54 -04:00
Sebastian Kaspari
4169924754 [fenix] Use pinned Android Components Nightly version instead of snapshots. 2020-03-17 12:09:36 +01:00
Chenxia Liu
e36095eefd [fenix] Back out "Bug 1621252 - Move Fenix tests to tire 1" for failures.
This reverts commit 9fe10eba0192b36cca7511d15c3b8b84ab587ab9.
2020-03-16 17:56:30 -07:00
Severin Rudie
afe685fca7 [fenix] No issue: fixes test broken by snapshot (https://github.com/mozilla-mobile/fenix/pull/9176)
* No issue: fixes test broken by snapshot

* No issue: ignore flaky tests
2020-03-16 16:44:39 -07:00
Tom Prince
529e3ae385 [fenix] Bug 1621264: Update taskgraph version. 2020-03-16 15:53:09 -07:00
Florin Strugariu
c1d4b62055 [fenix] Bug 1621252 - Move Fenix tests to tire 1 2020-03-16 14:12:37 -07:00
Christian Sadilek
3a22f2e0d3 [fenix] No issue: Remove unneeded logic to adjust TP 2020-03-13 14:08:49 -04:00
isabelrios
c5a4096d1e [fenix] ui-tests-homescreen-fix-to-enable (https://github.com/mozilla-mobile/fenix/pull/9050) 2020-03-13 11:16:47 -04:00
Mozilla L10n Automation Bot
e53aa74edf [fenix] Import l10n. 2020-03-13 07:45:13 -07:00
Jonathan Almeida
ef6c0cb3cc [fenix] Add nightly-only feature flag for WebPush integration 2020-03-12 18:39:32 -07:00
codrut.topliceanu
fc2c801048 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8561 - Scroll to topSites on app cold start 2020-03-12 10:54:58 -07:00
Sawyer Blatz
1cc4aeea46 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8773: Fixes issue with snackbar placement on ContextMenu (https://github.com/mozilla-mobile/fenix/pull/8942) 2020-03-12 09:54:13 -07:00
Roger Yang
9484cf0713 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/9104: Pass release channel information to Socorro service (https://github.com/mozilla-mobile/fenix/pull/9130) 2020-03-12 12:00:14 -04:00
isabelrios
75ce370b85 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9076 - Upddate pipenv to run without error. (https://github.com/mozilla-mobile/fenix/pull/9077)
* For https://github.com/mozilla-mobile/fenix/issues/9076 - Upddate pipenv to run without error

* pipenv fixed the issue after update
2020-03-12 11:36:51 -04:00
Jeff Boek
887c1c0d7a [fenix] No issue - Fixes shadow on top layout 2020-03-11 22:59:42 -07:00
Jeff Boek
81abd0c497 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8949 - Removes old motionlayout code, fixes how shadow is drawn 2020-03-11 17:10:40 -07:00
David Walsh
1ae3202125 [fenix] Show the collections header when there are no collections 2020-03-11 16:26:39 -07:00
ekager
f3d6d7f52d [fenix] For https://github.com/mozilla-mobile/fenix/issues/8897 - Don't remove all external sessions on back press 2020-03-11 14:04:27 -07:00
Christian Sadilek
cb9a67d6bd [fenix] Update to AC 37.0.0-SNAPSHOT 2020-03-11 15:21:28 -04:00
Michael Comella
9d832f24e7 [fenix] No issue: remove unused HotStartPerformanceMonitor.
This monitor for hot start was intended to be used by FNPRMS to measure
hot start. However, hot start was deprioritized so it's now essentially
unused.
2020-03-11 11:28:38 -07:00
Mihai Branescu
6d6db30a48 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8800 - add tests for dismissing highlighted items 2020-03-11 19:05:55 +02:00
Mihai Branescu
7675d3113a [fenix] For https://github.com/mozilla-mobile/fenix/issues/8800 - dismiss all highlights when menu is closed 2020-03-11 19:05:55 +02:00
Severin Rudie
fa7f2f9f61 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8800: clear menu highlights on use 2020-03-11 19:05:55 +02:00
mcarare
dc60ad1467 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8474 Remove obsolete unit tests for removed menu items 2020-03-11 09:52:28 -07:00
mcarare
be9502ea79 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8474 Reorganize browser menu items 2020-03-11 09:52:28 -07:00
Arturo Mejia
6a328a7207 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/8908 Notify users when previously unsupported add-ons
become available
2020-03-11 11:24:01 -04:00
Severin Rudie
738e5896d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9091: fix test failure 2020-03-11 14:51:05 +01:00