Commit Graph

5035 Commits

Author SHA1 Message Date
Sebastian Kaspari
fc80dbfb57 Update Kotlin to 1.4.30 and Coroutines to 1.4.2. 2021-02-19 11:31:15 +01:00
Mozilla L10n Automation Bot
666833c2e5 Import l10n. 2021-02-19 00:31:43 +00:00
Arturo Mejia
21d10aa931 Update toolbar autoplay strings 2021-02-18 16:40:43 -05:00
Christian Sadilek
e07f4ac590 Deprecate SessionManager component 2021-02-18 14:28:28 -05:00
Christian Sadilek
2d87307144 Remove remaining usages of Session[Manager] in BrowserFragment 2021-02-18 14:28:28 -05:00
Christian Sadilek
c9b8f57f96 Refactor BrowserToolbarMenuController to use browser store 2021-02-18 14:28:28 -05:00
Arturo Mejia
b6ac5079b2 For issue #18049 Download complete dialog is not showing in custom tab. 2021-02-18 12:43:52 -05:00
Victor
2193be27b2 Solves Leaks on SavedLoginFragment
disables options menu to avoid leak
 removes on click listener to avoid leak
2021-02-18 19:00:44 +02:00
Sebastian Kaspari
9b65e63422 Closes #18006: DefaultSessionControlControllerTest: Correctly unmock SearchStateKt class.
The test class left SearchStateKt mocked and caused other tests to fail intermittently when
running after it.
2021-02-18 15:49:31 +01:00
mcarare
af9c32983f For #17807: Fix systemWindowInset deprecation. 2021-02-18 09:14:53 -05:00
Oana Horvath
d7f1117e17 For #16317 UI tests: save longTap preference to restore it 2021-02-18 13:46:09 +02:00
Mozilla L10n Automation Bot
7e70eccca0 Import l10n. 2021-02-18 00:36:55 +00:00
Ryan Kelly
56914cd42d Reset experiment telemetry identifiers on data prefs change.
When the user opts out of telemetry, we need to reset the user identifiers
used by the experiment system, so that there's no risk of tracking the
user across the reset event if they later decide to re-enable telemetry.
2021-02-17 16:07:57 -05:00
Oana Horvath
4e4bbcc334 For #16317: resets long press delay at the end of UI tests 2021-02-17 16:39:44 +02:00
Mozilla L10n Automation Bot
dfc5628ca1 Import l10n. 2021-02-17 00:39:54 +00:00
Jan-Erik Rediger
3e9ab1b150 Glean: Check for renamed reason 2021-02-16 16:32:14 -05:00
Mugurell
611ff8f25b For #17195 - Don't try setting an idle resource if the View is already off screen
Speculative fix based on the Firebase logs which shows that on a second check
of R.id.tab_wrapper it is not found the screen.
It may be because after `advanceToHalfExpandedState` and before getting a
reference to it in `waitForTabTrayBehaviorToIdle` it was already animated off
the screen.
With this in mind I've added a null check for the view reference before trying
to register an idling resource on it's Behavior.

Also added and used a way to click at a specific location in a View, not just
in the default middle in the View.
It was observed from the Firebase videos that a "click" on the topBar actually
selected the private tabs section. This would leave us to believe that the
"click" was caught by that other View which was placed above the x,y middle of
the topBar.
2021-02-16 16:26:17 +02:00
Mugurell
32493491fa For #17195 - Test a potential fix for the test 2021-02-16 16:26:17 +02:00
Oana Horvath
23cc3522aa For #17484, #18003 UI tests: retry closing tab if it fails 2021-02-16 14:28:26 +02:00
Mozilla L10n Automation Bot
f5cb3a9920 Import l10n. 2021-02-16 00:29:18 +00:00
Christian Sadilek
5a5cf9cd12 Refactor BrowserToolbarController to use browser store 2021-02-15 15:01:29 +01:00
Codrut Topliceanu
ec54397637
For #17352 - Fixes deleted downloads reappearing (#17930)
* For #17352 - Fixes deleted downloads reappearing

The `getDeleteDownloadItemsOperation` job would check fragment context not null after the fragment was stopped. Removing that check and only passing the downloadUseCase as a parameter fixes the problem.
2021-02-15 11:22:09 +02:00
Mozilla L10n Automation Bot
9fee349600 Import l10n. 2021-02-15 00:40:59 +00:00
Mozilla L10n Automation Bot
ed0a188e7e Import l10n. 2021-02-14 00:36:56 +00:00
Mozilla L10n Automation Bot
3c54562504 Import l10n. 2021-02-13 01:55:06 +00:00
Elise Richards
bab7693b9d
Remove unneeded temporary UI test ignores (#17980) 2021-02-12 17:01:38 -06:00
Mugurell
3311e68d14 For #17686 - Use a custom behavior to scroll InfoBanner with the top toolbar
Previously when the toolbar was on top the banner was inflated in the toolbar's parent - an AppBarLayout.
After migrating to use a custom behavior for scrolling the toolbar and not use
anymore the AppbarLayout for this we needed a new solution.
Using a new behavior to keep this banner in sync with the y translation of the
toolbar gives us most of the old behavior back.
2021-02-12 16:05:19 +02:00
Elise Richards
d0fd3e82c5
For #17771: three-dot menu reorder (#17838)
* Feature flag for toolbar menu redesign. Add new items to menu and reorder.

* Handle toolbar items in menu controller

* Menu controller tests

* Make icons invisible

* Lint

* UI tests reflect design change

* Refactor test names

* Lint fixes

* UI tests
2021-02-11 18:55:12 -06:00
Mozilla L10n Automation Bot
eabde04679 Import l10n. 2021-02-12 00:24:31 +00:00
Michael Comella
b41041c739 For #17920: move manufacturer StrictMode exception to ignores function.
I think this is more consistent and centralizes the violation ignores.
2021-02-11 15:22:50 -08:00
Michael Comella
5cb296b098 For #17920: use StrictMode penaltyDeathWithIgnores. 2021-02-11 15:22:50 -08:00
Michael Comella
a86b4ef1bd For 17920: add ThreadPenaltyDeathWithIgnoresListener, tests, helpers. 2021-02-11 15:22:50 -08:00
Michael Comella
e9e067615a For #17920: add ManufacturerCodes. 2021-02-11 15:22:50 -08:00
Michael Comella
2e45483eb0 For #17816: add ProfilerFactProcessor and register it, tests. 2021-02-11 14:52:36 -08:00
Mugurell
41f9388380 For #17803 - Use the main looper for Handler()s
This was already the one inferred.
Targeting Android 11 means we need to pass it explicitly.
2021-02-11 19:42:33 +02:00
Codrut Topliceanu
d56b4a2b92
For #17418 - Added telemetry for Google Default Top Site (#17637)
* For #17418 - Adds channel "ts" to TrackKey

This is used to track if the `InContentTelemetry` is a result of the user using the Google Top Site. It looks for `&channel=ts` within the uri.

* For #17418 - Adds TopSite PerformedSearch back in

* For #17418 - Check now looks for equality with GOOGLE_URL

* For #17418 - Adds test for topSite changes
2021-02-11 11:31:01 -05:00
Mozilla L10n Automation Bot
9d07b7ae03 Import l10n. 2021-02-11 09:45:42 +00:00
Sebastian Kaspari
a3b556aa35 ToolbarIntegration: Use global public suffix list instance. 2021-02-11 09:33:40 +02:00
Roger Yang
8dfa4525ca
Fix OpenSpecificTabIntentProcessorTest to remove AbstractMediaService (#17955) 2021-02-10 13:33:39 -05:00
Sebastian Kaspari
f4f5e4b663 Issue #17174: Remove usage of old media APIs. 2021-02-10 16:42:58 +01:00
Christian Sadilek
88facc4608 Closes #17889: Wrong tab selected/reloaded when restored from collection 2021-02-10 10:46:13 +01:00
Mozilla L10n Automation Bot
ca57a132c7 Import l10n. 2021-02-10 00:29:59 +00:00
ekager
08a1e0f728 For #17906 - Allow screenshots for private home screenshot test 2021-02-09 12:52:46 -07:00
Oana Horvath
a98b40896d For #15259 UI test: waits for home screen to be visible 2021-02-09 17:22:24 +02:00
AndiAJ
e31b4f49e9 For #17195 Fix Intermittent UI test verifyTabTrayNotShowingStateHalfExpanded 2021-02-09 16:46:31 +02:00
AndiAJ
e0c70582b8 For #17852 Change and Fix Intermittent UI test openNewTabTest 2021-02-09 16:43:56 +02:00
Michael Comella
b3ef8a11e8 For #17816: add profiler marker for onPreDraw via HomeActivity.onStart.
This may be useful for MAIN start up to determine when the user begins
seeing content.
2021-02-08 17:46:32 -08:00
Michael Comella
4de49c7585 For #17816: add profiler marker for 2x Activity.onCreate.
The IntentReceiverActivity one is particularly useful to quickly determine
when we can begin executing code in the WARM VIEW case (i.e. "Set selection
begin here").

The HomeActivity one is useful for COLD start up analysis in similar
ways and to see the Activity transitions in WARM VIEW.
2021-02-08 17:46:32 -08:00
Mozilla L10n Automation Bot
4084664d30 Import l10n. 2021-02-09 00:42:20 +00:00
ekager
5e9fb855f5 For #17915 - Do not launch system settings on Role Request Intent cancel 2021-02-08 09:56:38 -07:00