fune/browser/components/urlbar
Drew Willcoxon f3e4f5c46f Bug 1734765 - Move quick suggest test helpers into QuickSuggestTestUtils.jsm. r=mak
This consolidates and moves quick suggest test helpers into a new
QuickSuggestTestUtils.jsm. I'm working on
https://mozilla-hub.atlassian.net/browse/SNT-34 and I'm adding a couple of test
files that need many of the same helpers in
browser_urlbar_telemetry_quicksuggest.js. We already have some quick suggest
helpers in head.js, but instead of adding more, I think it would be useful to
have a new module analogous to UrlbarTestUtils.

This is mostly a straight port of those helpers to the new module, but some
changes were necessary so that the module doesn't make unnecessary assumptions
that the helpers in browser_urlbar_telemetry_quicksuggest.js made. That means I
added more params to some of these functions.

I also improved some of them a little bit where I noticed some small
improvements could be made and improved some function names.

Finally, I also removed `UrlbarProviderQuickSuggest._helpUrl` while I was here.
I added that property specifically so tests could override the help URL to avoid
accessing a remote URL, but at the time I didn't realize that
`Services.urlFormatter.formatURLPref("app.support.baseURL")` returns a local URL
when running tests.

Differential Revision: https://phabricator.services.mozilla.com/D127915
2021-10-12 00:27:18 +00:00
..
content Bug 1733687 - Store in a pref the user's response to the Firefox Suggest onboarding dialog and add two new telemetry event objects. r=dao,mythmon 2021-10-07 17:02:07 +00:00
docs Bug 1734447 - Record in telemetry environment the user's choice in the Firefox Suggest online opt-in onboarding dialog/modal. r=chutten,dao 2021-10-07 17:02:08 +00:00
tests Bug 1734765 - Move quick suggest test helpers into QuickSuggestTestUtils.jsm. r=mak 2021-10-12 00:27:18 +00:00
unitconverters Bug 1715544 - Extend timezone converter's 12h correction logic for times between 12pm and 1pm, and 12am and 1am. Add testcases. r=nhnt11 2021-06-17 15:59:31 +00:00
.eslintrc.js
jar.mn Bug 1727907 - Make Firefox Suggest an opt-in feature and update the onboarding dialog accordingly. r=daleharvey 2021-08-30 15:56:28 +00:00
moz.build Bug 1734765 - Move quick suggest test helpers into QuickSuggestTestUtils.jsm. r=mak 2021-10-12 00:27:18 +00:00
UrlbarController.jsm
UrlbarEventBufferer.jsm
UrlbarInput.jsm Bug 1727668 - Integrate Merino with Firefox Suggest/quick suggest. r=mak,nanj 2021-08-30 22:48:12 +00:00
UrlbarMuxerUnifiedComplete.jsm Bug 1729195 - When the heuristic is hidden, include results that dupe it. r=mak 2021-09-30 18:31:07 +00:00
UrlbarPrefs.jsm Bug 1733687 - Store in a pref the user's response to the Firefox Suggest onboarding dialog and add two new telemetry event objects. r=dao,mythmon 2021-10-07 17:02:07 +00:00
UrlbarProviderAboutPages.jsm Bug 1712352 - Part 2 - Remove about pages code from UnifiedComplete. r=adw 2021-06-03 19:32:15 +00:00
UrlbarProviderAliasEngines.jsm Bug 1714409 - Part 2 - Remove _matchSearchEngineAlias from UnifiedComplete. r=adw 2021-06-17 11:34:13 +00:00
UrlbarProviderAutofill.jsm Bug 1662167 - Split UrlbarInputHistoryProvider from UnifiedComplete. r=adw 2021-06-02 15:16:56 +00:00
UrlbarProviderBookmarkKeywords.jsm Bug 1724016: Avoid unescaping if the URI is over the limit. r=adw 2021-08-12 23:56:45 +00:00
UrlbarProviderCalculator.jsm
UrlbarProviderExtension.jsm Bug 1717509 - Part 5 - Replace references to UnifiedComplete with references to UrlbarProviderPlaces. r=adw 2021-07-09 23:52:39 +00:00
UrlbarProviderHeuristicFallback.jsm Bug 1724016: Avoid unescaping if the URI is over the limit. r=adw 2021-08-12 23:56:45 +00:00
UrlbarProviderInputHistory.jsm Bug 1725652 - Show adaptive history results if any of history, bookmarks, or open pages are enabled. r=adw 2021-08-16 16:01:40 +00:00
UrlbarProviderInterventions.jsm Bug 1725318: Avoid calculation score if the query starts with string like protocol. r=adw 2021-08-17 02:06:46 +00:00
UrlbarProviderOmnibox.jsm
UrlbarProviderOpenTabs.jsm Bug 1717509 - Part 5 - Replace references to UnifiedComplete with references to UrlbarProviderPlaces. r=adw 2021-07-09 23:52:39 +00:00
UrlbarProviderPlaces.jsm Bug 1477895: Get rid of WHERE condition of bookmark and history when openpage is enabled. r=adw 2021-09-16 01:52:24 +00:00
UrlbarProviderPreloadedSites.jsm Bug 1715137 - Part 3 - Port test_preloaded_sites.js. r=adw 2021-06-22 21:02:58 +00:00
UrlbarProviderPrivateSearch.jsm
UrlbarProviderQuickSuggest.jsm Bug 1734765 - Move quick suggest test helpers into QuickSuggestTestUtils.jsm. r=mak 2021-10-12 00:27:18 +00:00
UrlbarProviderRemoteTabs.jsm Bug 1677126 - Part 5 - Improve sorting of remote tabs so more recent tabs are more likely to be shown first. r=adw 2021-06-02 22:43:30 +00:00
UrlbarProviderSearchSuggestions.jsm Bug 1727668 - Integrate Merino with Firefox Suggest/quick suggest. r=mak,nanj 2021-08-30 22:48:12 +00:00
UrlbarProviderSearchTips.jsm Bug 1733184 - Default browser prompt and url bar info collision on first startup r=adw 2021-10-08 22:32:15 +00:00
UrlbarProvidersManager.jsm Bug 1717509 - Part 2 - Minimal working UrlbarProviderPlaces. r=adw 2021-07-09 23:52:38 +00:00
UrlbarProviderTabToSearch.jsm
UrlbarProviderTokenAliasEngines.jsm Bug 1717509 - Part 5 - Replace references to UnifiedComplete with references to UrlbarProviderPlaces. r=adw 2021-07-09 23:52:39 +00:00
UrlbarProviderTopSites.jsm Bug 1717509 - Part 5 - Replace references to UnifiedComplete with references to UrlbarProviderPlaces. r=adw 2021-07-09 23:52:39 +00:00
UrlbarProviderUnitConversion.jsm Bug 1697722: Implement unit converter as UrlbarProvider. r=adw,dminor 2021-04-29 01:30:58 +00:00
UrlbarQuickSuggest.jsm Bug 1733687 - Store in a pref the user's response to the Firefox Suggest onboarding dialog and add two new telemetry event objects. r=dao,mythmon 2021-10-07 17:02:07 +00:00
UrlbarResult.jsm Bug 1724016: Avoid unescaping if the URI is over the limit. r=adw 2021-08-12 23:56:45 +00:00
UrlbarSearchOneOffs.jsm Bug 1714242: Rename settingsButtonCompact with settingsButton. r=harry 2021-07-19 20:41:43 +00:00
UrlbarSearchUtils.jsm Bug 1714409 - Part 2 - Remove _matchSearchEngineAlias from UnifiedComplete. r=adw 2021-06-17 11:34:13 +00:00
UrlbarTokenizer.jsm Bug 1726837: Refactoring for splitString function. r=adw 2021-08-27 00:26:30 +00:00
UrlbarUtils.jsm Bug 1728429 - Update the Firefox Suggest Sponsored action text by wrapping the action text. r=dao 2021-09-06 20:14:47 +00:00
UrlbarValueFormatter.jsm
UrlbarView.jsm Bug 1729776 - Enable the Firefox Suggest "offline" scenario by default for users in the US region with en-* locales. r=mythmon,daleharvey,mak 2021-09-11 02:27:38 +00:00