2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-15 18:12:54 +00:00
Commit Graph

3452 Commits

Author SHA1 Message Date
Grisha Kruglov
eb14532c3c Closes #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
3ea8023a27
No issue: Swap AVD (x86) Nexus 6 (API 25) with a Nexus6P (API 27) (#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
8d2e594542
Bug 1623601 - Add visual metrics tasks to nightly browsertime tests. (#9248) 2020-03-19 14:58:15 +01:00
mcarare
e4acabb329 For #8600:Increase space below left checkbox preference 2020-03-19 15:41:05 +02:00
mcarare
a098b66d26 For #8591: Allow items in quick_action_sheet to be read by a11y services 2020-03-19 15:18:40 +02:00
mcarare
756b1fbadd For #9140: Remove drawable from title in empty state panes 2020-03-19 14:32:40 +02:00
MickeyMoz
5ed131969a Update Android Components version to 37.0.20200318190037. 2020-03-19 13:47:16 +02:00
Ryan Kelly
a0f8be25b6 Add support for application-services autoPublish local dev workflow. 2020-03-19 10:51:08 +02:00
Arturo Mejia
7dff584b82 Remove @ObsoleteCoroutinesApi from tests 2020-03-18 17:25:51 -07:00
Arturo Mejia
823eea44ed No issue: Add serverConfig param to FxaWebChannelFeature 2020-03-18 17:25:51 -07:00
Arturo Mejia
b44360ab74 Update Android Components version 2020-03-18 17:25:51 -07:00
Arturo Mejia
e977486809 Remove @UseExperimental for usages of the flow api 2020-03-18 17:25:51 -07:00
mcarare
4425e7139e For #9200: Remove star icon from empty state icon in toolbar 2020-03-18 10:23:50 -07:00
mcarare
772c7062fd For #8814: Change icon asset for top sites menu option 2020-03-18 08:30:33 -07:00
Mozilla L10n Automation Bot
937e1cd2e6 Import l10n. 2020-03-18 15:02:07 +01:00
liuche
ae67452aef
Bug 1621252 - Move Fenix Raptor tests to tier 1 (#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
ffd4cdd970 For #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
ca05863138 write-dummy-secret.py: clean unused json logic 2020-03-17 13:48:09 -07:00
Sawyer Blatz
b4e1360f59
For #3086: Adds settings animations (#9187) 2020-03-17 12:35:00 -07:00
Gregory Mierzwinski
a457755388
Bug 1613483 - Add all Browsertime tests with visual metrics to Fenix repo. (#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
0d974fe262 For #8808 #9139: Add-on should be able to configure how to open options page 2020-03-17 12:34:07 -04:00
Edouard Oger
a1ea94fe76 Prepare for a-c a-s upgrade 2020-03-17 11:49:54 -04:00
MickeyMoz
341393abaa Update Android Components version to 37.0.20200317130045. 2020-03-17 11:49:54 -04:00
Sebastian Kaspari
34144fd254 Use pinned Android Components Nightly version instead of snapshots. 2020-03-17 12:09:36 +01:00
Chenxia Liu
4dc26205bc Back out "Bug 1621252 - Move Fenix tests to tire 1" for failures.
This reverts commit 090fec20f1.
2020-03-16 17:56:30 -07:00
Severin Rudie
3e38b002dd
No issue: fixes test broken by snapshot (#9176)
* No issue: fixes test broken by snapshot

* No issue: ignore flaky tests
2020-03-16 16:44:39 -07:00
Tom Prince
0117de5b8e Bug 1621264: Update taskgraph version. 2020-03-16 15:53:09 -07:00
Florin Strugariu
090fec20f1 Bug 1621252 - Move Fenix tests to tire 1 2020-03-16 14:12:37 -07:00
Christian Sadilek
63517a52e4 No issue: Remove unneeded logic to adjust TP 2020-03-13 14:08:49 -04:00
isabelrios
74433ba27a
ui-tests-homescreen-fix-to-enable (#9050) 2020-03-13 11:16:47 -04:00
Mozilla L10n Automation Bot
dd38f1df0a Import l10n. 2020-03-13 07:45:13 -07:00
Jonathan Almeida
3d387e2dde Add nightly-only feature flag for WebPush integration 2020-03-12 18:39:32 -07:00
codrut.topliceanu
030bd38631 For #8561 - Scroll to topSites on app cold start 2020-03-12 10:54:58 -07:00
Sawyer Blatz
cc8f34b68b
For #8773: Fixes issue with snackbar placement on ContextMenu (#8942) 2020-03-12 09:54:13 -07:00
Roger Yang
9a582a6983
Closes #9104: Pass release channel information to Socorro service (#9130) 2020-03-12 12:00:14 -04:00
isabelrios
97b5754562
For #9076 - Upddate pipenv to run without error. (#9077)
* For #9076 - Upddate pipenv to run without error

* pipenv fixed the issue after update
2020-03-12 11:36:51 -04:00
Jeff Boek
c862ca93ba No issue - Fixes shadow on top layout 2020-03-11 22:59:42 -07:00
Jeff Boek
74ce62b5c3 For #8949 - Removes old motionlayout code, fixes how shadow is drawn 2020-03-11 17:10:40 -07:00
David Walsh
fc67747409 Show the collections header when there are no collections 2020-03-11 16:26:39 -07:00
ekager
31cc7d9166 For #8897 - Don't remove all external sessions on back press 2020-03-11 14:04:27 -07:00
Christian Sadilek
1f189aa4d1 Update to AC 37.0.0-SNAPSHOT 2020-03-11 15:21:28 -04:00
Michael Comella
5bd0369aed 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
b0e4453fb7 For #8800 - add tests for dismissing highlighted items 2020-03-11 19:05:55 +02:00
Mihai Branescu
485efacd33 For #8800 - dismiss all highlights when menu is closed 2020-03-11 19:05:55 +02:00
Severin Rudie
1381444a52 For #8800: clear menu highlights on use 2020-03-11 19:05:55 +02:00
mcarare
95a89f9dba For #8474 Remove obsolete unit tests for removed menu items 2020-03-11 09:52:28 -07:00
mcarare
2ffbecaefa For #8474 Reorganize browser menu items 2020-03-11 09:52:28 -07:00
Arturo Mejia
ce4293c8c8 For issue #8908 Notify users when previously unsupported add-ons
become available
2020-03-11 11:24:01 -04:00
Severin Rudie
e86120027f For #9091: fix test failure 2020-03-11 14:51:05 +01:00
ekager
709bf6f627 For #7087 - Add SearchView to Logins Fragment 2020-03-10 23:01:51 -07:00