fune/browser/components/urlbar
Drew Willcoxon 056ba12496 Bug 1747575 - Fix a bug that prevents search mode from being exited in new windows. r=harry
This is a regression from bug 1723158, specifically [this change](https://hg.mozilla.org/mozilla-central/rev/904db8e18e53#l4.12).

`this._queryContext` is undefined in the view in new windows. If you press the
key shortcut to enter search mode immediately in a new window, search mode is
entered without running a query. Then if you hit Escape or Backspace, we hit the
`allowEmptySelection` getter and throw an error because `this._queryContext` is
undefined but we're trying to destructure it. This bug does not happen if you
first focus the urlbar and then enter search mode because focusing the urlbar
causes the top-sites query to run.

Differential Revision: https://phabricator.services.mozilla.com/D135583
2022-01-11 23:16:07 +00:00
..
content Bug 1749425: Add X close button on introduction page for all UI variations. r=adw 2022-01-11 02:34:59 +00:00
docs Bug 1745026 - Part 3: Update telemetries for Firefox suggest onboarding dialog. r=adw 2022-01-07 21:33:04 +00:00
tests Bug 1747575 - Fix a bug that prevents search mode from being exited in new windows. r=harry 2022-01-11 23:16:07 +00:00
unitconverters
.eslintrc.js
jar.mn Bug 1745026 - Part 1: Implement basic opt-in modal design for Firefox Suggest. r=adw 2022-01-07 21:33:03 +00:00
moz.build Bug 1738815: Move quicksuggest tests into own dir. r=adw 2021-11-25 01:14:51 +00:00
UrlbarController.jsm
UrlbarEventBufferer.jsm
UrlbarInput.jsm Bug 1747539 - Only strip first token in search() if it is a restriction token. r=adw 2022-01-06 15:26:13 +00:00
UrlbarMuxerUnifiedComplete.jsm Bug 1743709 - Dedupe switchTab by checking if tab is already added to results. r=harry,adw 2022-01-10 19:44:23 +00:00
UrlbarPrefs.jsm Bug 1745026 - Part 3: Update telemetries for Firefox suggest onboarding dialog. r=adw 2022-01-07 21:33:04 +00:00
UrlbarProviderAboutPages.jsm
UrlbarProviderAliasEngines.jsm
UrlbarProviderAutofill.jsm
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 Bug 1698112 - Stop referencing browser files from toolkit, and prevent it happening again with a test. r=preferences-reviewers,mossop 2021-10-21 21:54:52 +00:00
UrlbarProviderExtension.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +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 Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarProviderOpenTabs.jsm
UrlbarProviderPlaces.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarProviderPreloadedSites.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarProviderPrivateSearch.jsm
UrlbarProviderQuickSuggest.jsm Bug 1748848 - Use lowercase for the advertiser field of Firefix Suggest pings r=adw 2022-01-06 20:22:18 +00:00
UrlbarProviderRemoteTabs.jsm Bug 1746789 - Allow disabling remote tabs in the Urlbar without disabling tab sync. r=adw 2021-12-21 16:30:31 +00:00
UrlbarProviderSearchSuggestions.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarProviderSearchTips.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarProvidersManager.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarProviderTabToSearch.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarProviderTokenAliasEngines.jsm
UrlbarProviderTopSites.jsm Bug 1747973 - Cache the top-sites query context like we cache other contexts. r=harry 2022-01-03 19:18:54 +00:00
UrlbarProviderUnitConversion.jsm Bug 1698112 - Stop referencing browser files from toolkit, and prevent it happening again with a test. r=preferences-reviewers,mossop 2021-10-21 21:54:52 +00:00
UrlbarQuickSuggest.jsm Bug 1745026 - Part 3: Update telemetries for Firefox suggest onboarding dialog. r=adw 2022-01-07 21:33:04 +00:00
UrlbarResult.jsm Bug 1728610 - changed all instance of Cu.reportError with logger.error or this.logger.error where appropriate. r=mak 2021-10-18 14:01:10 +00:00
UrlbarSearchOneOffs.jsm
UrlbarSearchUtils.jsm Bug 1747929 - Modify UrlbarSearchUtils.enginesForDomainPrefix() so it does not include the same engine more than once when matchAllDomainLevels = true. r=harry 2021-12-30 18:50:07 +00:00
UrlbarTokenizer.jsm Bug 1726837: Refactoring for splitString function. r=adw 2021-08-27 00:26:30 +00:00
UrlbarUtils.jsm Bug 1735894 - Discard history results that dupe the quick suggest result. r=nanj,mak 2021-11-16 21:46:25 +00:00
UrlbarValueFormatter.jsm Bug 1462567 - Properly format/highlight the urlbar value after detaching a tab. r=harry 2022-01-05 01:13:56 +00:00
UrlbarView.jsm Bug 1747575 - Fix a bug that prevents search mode from being exited in new windows. r=harry 2022-01-11 23:16:07 +00:00