fune/browser/components/urlbar
Drew Willcoxon 999a645aa0 Bug 1659309 - UrlbarProviderHeuristicFallback should return a search heuristic when in search mode, not a URL heuristic, even when not restricting results to search. r=harry
* Add a check for `queryContext.searchMode` in
  `UrlbarProviderHeuristicFallback._matchUnknownUrl`. We should not match a URL
  when search mode is active, in addition to the existing check for a
  restricting source.
* Move the aforementioned checks to the top of the method so that we avoid when
  possible the more expensive string escaping and parsing currently at the top
  of that method.
* Add a test task.
* Beef up the existing test tasks.

Differential Revision: https://phabricator.services.mozilla.com/D87189
2020-08-17 14:55:21 +00:00
..
content
docs Bug 1656007 - Move URLBAR_SELECTED_RESULT_TYPES to UrlbarUtils since it is not used in BrowserUsageTelemetry. r=mak 2020-07-30 14:27:50 +00:00
tests Bug 1659309 - UrlbarProviderHeuristicFallback should return a search heuristic when in search mode, not a URL heuristic, even when not restricting results to search. r=harry 2020-08-17 14:55:21 +00:00
.eslintrc.js
moz.build Bug 1654439 - Part 1: Move search-one-offs.js into a jsm, add UrlbarSearchOneOffs.jsm. r=harry 2020-07-28 02:54:37 +00:00
UrlbarController.jsm Bug 1658330 - Start a new query to show top sites when the input is empty and search mode is exited by backspacing. r=harry 2020-08-11 16:05:03 +00:00
UrlbarEventBufferer.jsm Bug 1650099 - Unify UrlbarProviders logger boilerplate. r=adw 2020-07-12 19:54:09 +00:00
UrlbarInput.jsm Bug 1659128 - Exit search mode as appropriate when input.setURI is called. r=harry 2020-08-17 20:31:44 +00:00
UrlbarMuxerUnifiedComplete.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00
UrlbarPrefs.jsm Bug 1657291 - Replace UrlbarPrefsObserver with an ordered list of weak observers internal to UrlbarPrefs. r=harry 2020-08-05 17:40:02 +00:00
UrlbarProviderAutofill.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00
UrlbarProviderExtension.jsm Bug 1650099 - Unify UrlbarProviders logger boilerplate. r=adw 2020-07-12 19:54:09 +00:00
UrlbarProviderHeuristicFallback.jsm Bug 1659309 - UrlbarProviderHeuristicFallback should return a search heuristic when in search mode, not a URL heuristic, even when not restricting results to search. r=harry 2020-08-17 14:55:21 +00:00
UrlbarProviderInterventions.jsm Bug 1652592 - Unify the query pending checks across urlbar providers. r=adw 2020-07-15 10:16:50 +00:00
UrlbarProviderOmnibox.jsm Bug 1653611 - Make UrlbarProvider.cancelQuery optional. r=adw 2020-07-17 19:55:30 +00:00
UrlbarProviderOpenTabs.jsm Bug 1653611 - Make UrlbarProvider.cancelQuery optional. r=adw 2020-07-17 19:55:30 +00:00
UrlbarProviderPrivateSearch.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00
UrlbarProviderSearchSuggestions.jsm Bug 1658646 - Show local results for search modes other than general purpose search engines. r=adw 2020-08-14 03:57:15 +00:00
UrlbarProviderSearchTips.jsm Bug 1653611 - Make UrlbarProvider.cancelQuery optional. r=adw 2020-07-17 19:55:30 +00:00
UrlbarProvidersManager.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00
UrlbarProviderTokenAliasEngines.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00
UrlbarProviderTopSites.jsm Bug 1658646 - Show local results for search modes other than general purpose search engines. r=adw 2020-08-14 03:57:15 +00:00
UrlbarProviderUnifiedComplete.jsm Bug 1647890 - Replace token alias with indicator when the token alias is confirmed or fully typed. r=adw 2020-08-10 15:16:40 +00:00
UrlbarResult.jsm
UrlbarSearchOneOffs.jsm Bug 1647890 - Replace token alias with indicator when the token alias is confirmed or fully typed. r=adw 2020-08-10 15:16:40 +00:00
UrlbarSearchUtils.jsm Bug 1650881 - Support multiple aliases in webextensions r=Standard8,mixedpuppy 2020-08-06 12:10:30 +00:00
UrlbarTokenizer.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00
UrlbarUtils.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00
UrlbarValueFormatter.jsm
UrlbarView.jsm Bug 1657918 - Don't add a heuristic result for empty searches in local search modes, and modify the view to allow it to stay open when empty. r=harry 2020-08-13 19:00:14 +00:00