Commit Graph

3354 Commits (c7604436c39066f45c7c77767e4266dd2f402c79)
 

Author SHA1 Message Date
Sebastian Kaspari 0198305bfb MigrationPushRenewer: Remove ExperimentalCoroutinesApi. 4 years ago
Grisha Kruglov e541e10427 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.
4 years ago
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).
4 years ago
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.
4 years ago
Gregory Mierzwinski 8d2e594542
Bug 1623601 - Add visual metrics tasks to nightly browsertime tests. (#9248) 4 years ago
mcarare e4acabb329 For #8600:Increase space below left checkbox preference 4 years ago
mcarare a098b66d26 For #8591: Allow items in quick_action_sheet to be read by a11y services 4 years ago
mcarare 756b1fbadd For #9140: Remove drawable from title in empty state panes 4 years ago
MickeyMoz 5ed131969a Update Android Components version to 37.0.20200318190037. 4 years ago
Ryan Kelly a0f8be25b6 Add support for application-services autoPublish local dev workflow. 4 years ago
Arturo Mejia 7dff584b82 Remove @ObsoleteCoroutinesApi from tests 4 years ago
Arturo Mejia 823eea44ed No issue: Add serverConfig param to FxaWebChannelFeature 4 years ago
Arturo Mejia b44360ab74 Update Android Components version 4 years ago
Arturo Mejia e977486809 Remove @UseExperimental for usages of the flow api 4 years ago
mcarare 4425e7139e For #9200: Remove star icon from empty state icon in toolbar 4 years ago
mcarare 772c7062fd For #8814: Change icon asset for top sites menu option 4 years ago
Mozilla L10n Automation Bot 937e1cd2e6 Import l10n. 4 years ago
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>
4 years ago
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://`
4 years ago
Johan Lorenzo ca05863138 write-dummy-secret.py: clean unused json logic 4 years ago
Sawyer Blatz b4e1360f59
For #3086: Adds settings animations (#9187) 4 years ago
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.
4 years ago
Christian Sadilek 0d974fe262 For #8808 #9139: Add-on should be able to configure how to open options page 4 years ago
Edouard Oger a1ea94fe76 Prepare for a-c a-s upgrade 4 years ago
MickeyMoz 341393abaa Update Android Components version to 37.0.20200317130045. 4 years ago
Sebastian Kaspari 34144fd254 Use pinned Android Components Nightly version instead of snapshots. 4 years ago
Chenxia Liu 4dc26205bc Back out "Bug 1621252 - Move Fenix tests to tire 1" for failures.
This reverts commit 090fec20f1.
4 years ago
Severin Rudie 3e38b002dd
No issue: fixes test broken by snapshot (#9176)
* No issue: fixes test broken by snapshot

* No issue: ignore flaky tests
4 years ago
Tom Prince 0117de5b8e Bug 1621264: Update taskgraph version. 4 years ago
Florin Strugariu 090fec20f1 Bug 1621252 - Move Fenix tests to tire 1 4 years ago
Christian Sadilek 63517a52e4 No issue: Remove unneeded logic to adjust TP 4 years ago
isabelrios 74433ba27a
ui-tests-homescreen-fix-to-enable (#9050) 4 years ago
Mozilla L10n Automation Bot dd38f1df0a Import l10n. 4 years ago
Jonathan Almeida 3d387e2dde Add nightly-only feature flag for WebPush integration 4 years ago
codrut.topliceanu 030bd38631 For #8561 - Scroll to topSites on app cold start 4 years ago
Sawyer Blatz cc8f34b68b
For #8773: Fixes issue with snackbar placement on ContextMenu (#8942) 4 years ago
Roger Yang 9a582a6983
Closes #9104: Pass release channel information to Socorro service (#9130) 4 years ago
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
4 years ago
Jeff Boek c862ca93ba No issue - Fixes shadow on top layout 4 years ago
Jeff Boek 74ce62b5c3 For #8949 - Removes old motionlayout code, fixes how shadow is drawn 4 years ago
David Walsh fc67747409 Show the collections header when there are no collections 4 years ago
ekager 31cc7d9166 For #8897 - Don't remove all external sessions on back press 4 years ago
Christian Sadilek 1f189aa4d1 Update to AC 37.0.0-SNAPSHOT 4 years ago
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.
4 years ago
Mihai Branescu b0e4453fb7 For #8800 - add tests for dismissing highlighted items 4 years ago
Mihai Branescu 485efacd33 For #8800 - dismiss all highlights when menu is closed 4 years ago
Severin Rudie 1381444a52 For #8800: clear menu highlights on use 4 years ago
mcarare 95a89f9dba For #8474 Remove obsolete unit tests for removed menu items 4 years ago
mcarare 2ffbecaefa For #8474 Reorganize browser menu items 4 years ago
Arturo Mejia ce4293c8c8 For issue #8908 Notify users when previously unsupported add-ons
become available
4 years ago