1
0
Fork 0
Commit Graph

276 Commits (6c2d6e65c354586bdb20bc681cc619fd66034896)

Author SHA1 Message Date
Jeff Boek c1f0e7bb33 For #3869 - Fixes unit tests 2020-02-18 10:10:16 -08:00
Emily Kager 39db8c9557
For #8470 - Fix Unit Tests MockKExceptions (#8471) 2020-02-17 17:13:25 -08:00
Jeff Boek 7aeb5f072d For #7295 - Adds more documentation for the installation metrics 2020-02-14 20:56:49 -08:00
codrut.topliceanu d6ae3d4abe For #7295 - Adds new custom ping: 'installation' 2020-02-14 20:56:49 -08:00
Emily Kager 2264e6e1b1 For #6623 - Adds ability to delete a login 2020-02-13 16:04:26 -08:00
mcarare 372b1e7f0e For #6980: Update Private browsing card.
Added test to description.
Added link to settings.
Updated unit tests.
2020-02-13 14:13:57 -08:00
Simon Chae 2c01022c4b For #8153: Allow web-ext to open new tabs in correct browsing mode 2020-02-12 13:41:16 -08:00
Emily Kager 9e4e23eceb
Closes #8176 - Adds new string for add to top sites (#8209) 2020-02-07 22:05:35 -05:00
Kate Glazko 7c00a1ad6b For #5073: View Site Cert 2020-02-07 09:10:31 -08:00
Tiger Oakes 453e7955bb
Add license header to ext tests (#8130) 2020-02-05 20:37:49 -08:00
Marc Leclair 72007590f7 #7700 squash commit and fixing toolbar to switxh to top with coordinatorlayout 2020-02-05 16:40:41 -08:00
Gabriel Luong 64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-02-04 01:41:51 -05:00
Sawyer Blatz 030f75b4df For #5892 & #6380: Updates error page template and allows SSL bypassing 2020-02-03 21:01:14 +01:00
Mihai Branescu 7b9f74138c For #7559 - added unit test for same locale selected 2020-02-03 19:24:12 +01:00
David Walsh f728cdaf05
Bug 7189 - Provide page title in website information dialog (#7255)
* Bug 7189 - Provide page title in website information dialog

* Update QSFS test

* Fix Tiger's nits
2020-01-30 11:24:53 -08:00
Mihai Branescu b3d99c6bba
For #7679 - Replaced comparison by reference with value, added check for default in order to avoid double checkmark (example: default + English) (#7729) 2020-01-28 19:22:04 +02:00
Mihai Adrian 622fdadde8 For #7272: Show info when saved logins list is empty. (#7891)
* For #7272: Show info when saved logins list is empty

* For #7272: Updated unit tests
2020-01-24 18:13:44 -08:00
Suraj Shah 2d64cf8e4c Connectivity manager tests (#7317)
* Fixes #7316
Adds tests for ConnectivityManager.isOnline

* Fixes detekt errors.

* Cleaning tests

* Cleaning tests to use boolean checks instead of object equals
2020-01-24 17:43:28 -08:00
Gabriel Luong f68f89f2bf For #6758 - Part 5: Add top sites to the HomeFragmentStore 2020-01-24 15:18:25 -08:00
Gabriel Luong e1863dd3c2 For #6758 - Part 4: Implement "Add to Firefox Home" browser menu item
- The "Add to Firefox Home" browser menu item adds a top site to the top site storage.
- Refactors the FenixSnackbar from BaseBrowserFragment into BrowserToolbarController
since there are multiple menu items that need to show a FenixSnackbar.
- Adds metrics for the new browser menu item.
2020-01-24 15:18:25 -08:00
Severin Rudie 44e4d8e12c
No issue: clarify naming for showing a prompt to allow search suggestions (#7870) 2020-01-22 19:08:07 -08:00
David Walsh 1ee0243efa Fix 4021 - Provide tab title during share 2020-01-22 14:42:27 -08:00
Emily Kager 7adb5b6084 For #6812 - Navigate via openToBrowser to selected session from search 2020-01-22 14:13:16 -08:00
Sawyer Blatz e1722b95b3 No issue: Fixes ErrorResponse instantiation 2020-01-22 11:47:51 -08:00
Chenxia Liu f726b03792 Fix breaking changes from new TrackingProtectionException 2020-01-22 11:47:51 -08:00
Sawyer Blatz 20396f78a9
For #7698: Adds search back button animation (#7840)
* For #7698: Adds search back button animation

* Refactor for searchController
2020-01-22 11:15:30 -08:00
Kaaira Gupta 08cce8cf58 for #7421 :removed collection from clear browsing history 2020-01-21 19:00:59 -08:00
Sebastian Kaspari af3726a505 Fennec home screen bookmarks: Select new tab. 2020-01-20 15:17:58 +01:00
Jeff Boek ea22f6d69b For #1607 - Fixes SearchShortcutSelected to not leak any custom identifiers 2020-01-16 14:07:38 -08:00
ValentinTimisica 981d19de13 For #6556: Adds Telemetry counts for Search Access Points
Added two new sources to be counted ('widget' and 'shortcut') besides 'action' and
'suggestion'. Also modified/fixed some tests.
2020-01-16 10:23:48 +02:00
Jonathan Almeida 7f988a85d0 Disable failing intent handling unit tests 2020-01-15 21:41:01 -08:00
ekager 0777fb3bbe For #5545 For #5542 Closes #6696 Integrate logins API, adds Settings for Autofilling/Saving Logins 2020-01-15 12:14:08 -08:00
ValentinTimisica a952d0858c For #5884: Fixed Unit tests. 2020-01-13 12:31:23 -08:00
Colin Lee 7baf54f566
For #5182: Loading experiments on startup is slow, remove Fretboard (#7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
2020-01-13 12:38:32 -06:00
Sawyer Blatz a58decd708 For #6304 & #7577: Persist private mode between app launches 2020-01-09 17:03:36 -08:00
Severin Rudie b23ee38082 For #7556: fix intermittent failure in BookmarkNodeTest 2020-01-09 16:54:50 +02:00
Rushab Kumar e6791b5c08 For #7154 - Fix crash when tapping on "Blocked" in the site info panel (#7404) 2020-01-08 13:51:45 -08:00
Will Hawkins 9c28cb632c Issue #7425 (et al): Cache the list of installed browsers
Cache the list of installed browsers. Calling `Browsers.all`
the application directly redundantly recalculates the list.
Accessing the list of installed browsers through this cache
will reduce that overhead.
2020-01-07 18:40:07 -08:00
Mugurell 8454f208af For #4977: Migrate fennec shortcuts (#7251)
* For #4977 - Support opening Fennec pinned website shortcuts in Fenix

Fennec's pinned website shortcuts are set to open the BrowserApp activity.
So we need a new activity alias to actually catch such Intents. Otherwise they
would open "org.mozilla.firefox/.App" without any way to inform that this is
the result of the user clicking on a pinned shortcut.
For actually checking if the newly received Intent is of a Fennec pinned
shortcut we introduce a new FennecBookmarkShortcutsIntentProcessor which will
prepare the Intent to open the shortcut's URL in a new tab.

* For #4977 - Don't keep IntentReceiverActivity on the back stack

For successive Fennec pinned shortcuts to create a new IntentReceiverActivity
and be processed as normal we need to not keep this as our task root.

* For #4977 - Test the FennecBookmarkShortcutsIntentProcessor
2020-01-07 09:07:51 -08:00
Mihai Branescu ea2411a88b Feature/#220 language menu (#7070)
* For #220
- Added advanced header + locale settings item in the settings fragment

* For #220
- Added locale selection page with lib state + handling of locale changes

* For #220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For #220
- Added unit tests for locale settings page

* For #220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
2020-01-03 18:15:35 -08:00
Jonathan Almeida 0768fde945 No issue: Use SendTabFeature and FxaPushSupportFeature 2020-01-03 10:20:53 -05:00
Sawyer Blatz c7c4ad051a
For #6413: Adds more snackbar positioning logic (#7444)
* For #6413: Adds more snackbar positioning logic

* Refactor
2020-01-02 14:31:52 -08:00
Sawyer Blatz 3fb060f682
For #6413: Fixes snackbar positionining for bottom toolbar (#7415)
* For #6413: Fixes snackbar positionining for bottom toolbar

* For #6413: Cleans up snackbar usage
2019-12-30 14:43:15 -08:00
Michael Comella cf143489e1 For #6464: Replace use of BuildConfig.DEBUG with ReleaseChannel.channel.isDebug.
This fixes performance issues where StrictMode would greatly slow down
startup in the forPerformanceTest variants.
2019-12-30 10:31:33 -08:00
Michael Comella 37bafda602 For #6464: Add ReleaseChannel test to document assumptions. 2019-12-30 10:31:33 -08:00
Severin Rudie f562c81fb2 For 5334: test NotificationSessionObserver 2019-12-30 11:40:07 +02:00
Suraj Shah 6344a8892d For #7041 - Respect current mode when opening library items (#7311)
* Fixes #7041
Consumes `browserMode` from home activity for tap method of bookmark

* Fixes spaces

* Cleaning tests

* Cleaning tests
2019-12-23 12:26:47 -05:00
Jeffrey Starke 59a021f3a3 Consolidate duplicate mock initialization in intent processor tests. (#6374)
* Consolidate duplicate code in intent processor tests

* Resolve ktlint errors
2019-12-19 12:33:59 -05:00
Tiger Oakes ea486d7c66
Split out CustomTabToolbarIntegration (#7107) 2019-12-17 12:26:46 -08:00
Suraj Shah 6cb3879caf For #7048: Network info migration (#7091)
* Fixes #7048.
Adds extension function to check if online or not based on capabilities
Modified `buildDeviceList`
Modifies tests

* Fixing lint error for max length
Fixing test in AppRequestInterceptorTest.kt

* Adds suppression for deprecation
Moving away from using anko for ConnectivityManager instance

* Creates ConnectivityManager extension component

* Fixes #7180
Refactors test cases to fix static mocks
2019-12-16 22:03:11 -08:00