2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-11 13:11:01 +00:00
Commit Graph

739 Commits

Author SHA1 Message Date
Adam Novak
824313a21b Merge tag 'v86.1.1' into upstream-sync 2021-03-04 17:34:37 -08:00
Stefan Arentz
c46381c994
For #17418 - Added telemetry for Google Default Top Site (#17637) (#18021) 2021-02-16 15:10:54 -05:00
Christian Sadilek
a1541a3375 Closes #17889: Wrong tab selected/reloaded when restored from collection 2021-02-10 10:46:16 +01:00
Stefan Arentz
6d144a50fb
For #17418 - Add event ping telemetry for the Google Top Site click (#17862) (#17867)
Co-authored-by: codrut.topliceanu <codrut.topliceanu@softvision.ro>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
Co-authored-by: codrut.topliceanu <codrut.topliceanu@softvision.ro>
2021-02-08 11:47:04 -05:00
Stefan Arentz
6518a60480
For #17655: Do not pass threshold if showTopFrecentSites is false. (#17657) (#17813)
* For #17655: Do not pass threshold if showTopFrecentSites is false.

* For #17655: Add unit tests for getTopSitesConfig.

(cherry picked from commit 8993a0acb2)

Co-authored-by: Mihai Adrian Carare <48995920+mcarare@users.noreply.github.com>
2021-02-03 17:49:46 -05:00
Adam Novak
6d4a47921c Merge tag 'v85.1.1' into upstream-sync 2021-02-01 20:53:42 -08:00
Christian Sadilek
87d6f32374 Refactor HomeFragment to use browser store 2021-01-26 10:08:02 +01:00
Elise Richards
f7b7b25213
For #16485: Tabs tray grid view telemetry (#17442)
* Tabs tray CFR telemetry interactions

* Create CFR events and implementation

* Tests for tab tray controller
2021-01-25 15:25:56 -06:00
Sebastian Kaspari
023ddcc131 Refactor ExternalAppBrowserActivity and ExternalAppBrowserFragment to not use Session(Manager). 2021-01-25 13:13:26 -05:00
Christian Sadilek
7001fa1735 Closes #17473: Intermittent failues of PwaOnboardingObserver 2021-01-22 16:44:36 -05:00
Gabriel Luong
70dc975299
For #17304 - Implement top site search engine attribution (#17580) 2021-01-22 14:23:46 -05:00
Sebastian Kaspari
0c41316c31 Revert "For #17044: Explicitly set a new default engine when default is deleted."
This reverts commit 633bf384e2.
2021-01-22 20:10:03 +01:00
ekager
083fe26f57 For #17542 - Removes flash on renaming top site and fixes title not being updated 2021-01-21 16:10:04 -07:00
Christian Sadilek
c34d68d915 Closes #17548: Remove SessionManager reference from TabTrayDialogFragment 2021-01-21 11:12:16 -05:00
Christian Sadilek
0de948e8ae Issue #17548: Remove SessionManager reference from TabHistoryDialog 2021-01-21 11:12:16 -05:00
mcarare
633bf384e2 For #17044: Explicitly set a new default engine when default is deleted. 2021-01-20 17:33:35 +02:00
Kate Glazko
ae528e5ab2 For #15181: Remove All Downloads From Settings 2021-01-19 14:21:44 -08:00
Christian Sadilek
54da078bd3 Refactor QuickSettingsDialog to use browser store 2021-01-19 17:19:51 -05:00
Christian Sadilek
d8c5f8887a Refactor OpenSpecificTabIntentProcessor to use browser store 2021-01-18 17:54:47 -05:00
Christian Sadilek
f96fdc34eb Refactor CrashReporterFragment to use browser store 2021-01-18 15:33:57 -05:00
Christian Sadilek
eb4beb252f Remove unused SessionManager reference from RecentlyClosedController 2021-01-18 15:12:34 -05:00
Sebastian Kaspari
fb64c7c076 SearchDialogController: Pass tab ID instead of Session instance. 2021-01-18 12:57:40 -05:00
Christian Sadilek
f8359e72bf Closes #17443: IllegalStateException in startPostponedEnterTransition on HomeFragment 2021-01-18 11:31:08 -05:00
Arturo Mejia
b9bdc288cb For issue: #16846 Add ui for controlling exceptions for auto play 2021-01-15 15:51:31 -05:00
Sebastian Kaspari
0035417616 Add unit tests for FennecWebAppIntentProcessor. 2021-01-15 14:35:16 -05:00
Arturo Mejia
a6495347fd For issue #17457: Prevent page refresh when tapping the security icon 2021-01-15 10:18:59 -05:00
mcarare
8fa83a7bab For #10417: Improve reload collection tab testing. 2021-01-15 15:30:48 +02:00
mcarare
edcee71287 For #17400: Select tab opened from collection. 2021-01-15 15:30:48 +02:00
Christian Sadilek
978b555387 Closes #17443: IllegalStateException in startPostponedEnterTransition on HomeFragment 2021-01-14 12:55:00 -05:00
Christian Sadilek
f0e10a7205 Closes #17441: NPE when invalidating toolbar in response to reader changes 2021-01-13 17:57:40 -05:00
Christian Sadilek
53f77e422b Closes #17441: NPE when invalidating toolbar in response to reader changes 2021-01-13 16:52:52 -05:00
Arturo Mejia
00d971e9d3 For #16847: Allow autoplay to controlled via the toolbar. 2021-01-13 15:51:49 +01:00
Sebastian Kaspari
0761f391fc Update to latest feature-intent and feature-recentlyclosed APIs (and update Android Components). 2021-01-13 15:51:49 +01:00
Mihai Adrian Carare
3bb074b133
For #13522: Also remove history entries from tab history. (#17392)
* For #13522: Also remove history entries from tab history.

* For #13522: Test that deleting history also removes it from tab history.
2021-01-12 09:13:24 -05:00
Mugurell
484f167714 For #16249 - ClipboardHandler cleans up returned text 2021-01-08 11:14:56 +02:00
mcarare
d110464a91 For #17117: Use proper custom tab session for custom tab toolbar menu. 2021-01-08 09:27:02 +02:00
Arturo Mejia
0aa44c93cd Closes issue #16945 Refactor TrackingProtectionOverlay to observe session via store. 2021-01-07 17:23:13 -05:00
Christian Sadilek
9a53054b28 Use new RestoreUseCase in A-C to handle tab timeouts 2021-01-07 15:50:54 -05:00
Arturo Mejia
743ba6918f Closes issue #16944 Refactor TrackingProtectionPanelDialogFragment to observe session via store. 2021-01-06 12:36:02 -05:00
Roger Yang
afa0454f2b
Closes #16603: Disable pull down when in fullscreen (#17314) 2021-01-05 15:34:44 -05:00
MarcLeclair
24bce64e0b
16373 Count the # of inflations done on startup (#16778)
* For #16373: Added performance Inflater to counter # of inflations

This class is quite straight forward. The only thing that I have to point out is the onCreateView method. It usually
calls its super if you don't override it. The problem with that is that the super.onCreateView actually uses
android.view. as a prefix for the XML element it tries to inflate. So if we have an element that isn't part
of that package, it'll crash. As I said in the code, a good example is ImageButton. Calling android.view.ImageButton
will make the app crash. The method is implemented the same way that PhoneLayoutInflater does (Another example
is the AsyncLayoutInflater)

* For #16373: Added test for PerformanceInflater

This test got quite awkward / complicated fast.  I wanted to test the  to make sure we don't break *any* of our layouts
and to do so, I decided to just retrieve all our XML in our /res/layout folder. However, this gets quite a bit outside of a unit test scope.
The point was to get every layouts and get their LayoutID through the resources using the testContext we have. It gets even weirder, since some
of the XML tags have special implementation in android. One of them is the <fragment> tag. That tag actually is inflated by the OS using the Factory2
that the Activity.java implements. In order to get around the fragment issue, we just return a basic FrameLayout since the system LayoutInflater doesn't deal
won't ever get a <fragment> tag to inflate. Another issue was the <merge> tag. In order to inflate those, you need 1) a root view and 2) attach your view to it.
In order to be able to test those layouts file, I had to create an empty FrameLayout and use it as the root view for testing. Again, I know this is beyond the spirit of a unit test but if we use this inflater, I think it should make sure that no layouts are broken by it.

* For #16373: Overrode getSystemService to return PerformanceInflater

This allows PerformanceInflater to be called in every inflation to keep track of the number of inflations we do.

* For #16373: Added UI test for # of inflations

* For #16373: Lint fix

* For #167373: Changed the LayoutInflater cloneInContext to take this instead of inflater

The inflater parameter is set on the first call from the OS from  the Window object. However, the activity itself sets multiple factories on the inflater
during its creation (usually through AppCompatDelegateImpl.java). This means that, once we initially set the inflater with a null check, we pass an inflater
that has no factory initially. However, since we keep a reference to it, when cloneInContext was called, it cloned the inflater with the original inflater
which didn't have any factories set up. This meant that the app would crash on either browserFragment creation or any thing that required appCompat (such as
ImageView and ImageButton). Now, passing itself with a cloneInContext means we keep all the factories initially set by the activity or the fragment.

* For #16373: Fixed code issues for PR. No behavior change

* For #16373: fixed some code nits
2021-01-04 11:00:34 -05:00
Adam Novak
7b9eaa9304 Start ripping out the custom tab tray that I lack the resources to maintain 2021-01-01 14:00:49 -08:00
Christian Sadilek
801ce85898 For #17073: Stop observers after test run 2020-12-24 10:27:27 -05:00
Elise Richards
6dadecacc2
For #15703 and #17133: allow ETP redirect trackers setting to be customized (#17137)
* Remove ETP redirect trackers feature flag. Add category to ETP panel view.

* Add redirect tracker category to ETP custom settings
2020-12-22 11:43:04 -06:00
Christian Sadilek
7a01fcbfa9 Closes #17073: Fix intermittent failures in PwaOnboardingObserverTest 2020-12-22 11:47:58 -05:00
Christian Sadilek
0b99669753 Closes #16949: Refactor OpenInAppOnboardingObserver to use browser store 2020-12-17 11:25:29 -05:00
Sebastian Kaspari
d2b8decaeb Switch to new feature-tab-collections API. 2020-12-16 15:32:53 -05:00
mcarare
e24ec1c941 For #16068: Update SUMO links. 2020-12-16 14:03:36 +02:00
Christian Sadilek
5157a3f50e Closes #17045: Crash caused by calling consumeFlow on wrong thread 2020-12-15 13:28:04 -05:00
Christian Sadilek
d8f3127e08 Closes #16946: Refactor PwaOnboardingObserver to use browser store 2020-12-15 10:15:54 -05:00