Commit Graph

1824 Commits

Author SHA1 Message Date
Daisuke Akatsuka
95dabb81e9 Bug 1817203: Introduce go_button in engagement_type r=mak
Differential Revision: https://phabricator.services.mozilla.com/D171033
2023-02-28 01:26:49 +00:00
Daisuke Akatsuka
b4d694fef0 Bug 1817196: Record preference value that affects the number of results showing in the urlbar r=mak
Differential Revision: https://phabricator.services.mozilla.com/D170317
2023-02-28 00:51:46 +00:00
Daisuke Akatsuka
5c8e4d197d Bug 1817156: Use input_field as selected_result value if the result view has not been shown upon engagement r=mak
Differential Revision: https://phabricator.services.mozilla.com/D170144
2023-02-25 07:32:04 +00:00
Daisuke Akatsuka
cc5cbd2fef Bug 1817155: Make results and groups empty if the result view has not been shown upon engagement r=mak
Differential Revision: https://phabricator.services.mozilla.com/D170143
2023-02-25 07:32:04 +00:00
Dão Gottwald
1d64874fd4 Bug 1818455 - Fix selecting the result menu button by mouse with browser.urlbar.resultMenu.keyboardAccessible=false. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D170736
2023-02-23 16:27:40 +00:00
Dale Harvey
e116731b78 Bug 1814111 - Don't revert prefs in the middle of quickaction tests. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D170703
2023-02-23 01:34:18 +00:00
Dão Gottwald
572c566454 Bug 1813517 - Add hidden pref for allowing Tab to skip over the menu button. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D170267
2023-02-22 11:16:44 +00:00
Daisuke Akatsuka
6a04c74e82 Bug 1733045: Remove nsINavBookmarkObserver. r=mak
Depends on D169583

Differential Revision: https://phabricator.services.mozilla.com/D131754
2023-02-15 00:29:13 +00:00
Joel Maher
417438b9cf Bug 1816191 - Skip tests in order to keep win7 running @ azure. r=gbrown,necko-reviewers,settings-reviewers,application-update-reviewers,media-playback-reviewers,credential-management-reviewers,nalexander,sgalich,alwu
Differential Revision: https://phabricator.services.mozilla.com/D169523
2023-02-14 23:44:12 +00:00
Mark Banner
18898557b3 Bug 1814931 - Convert services/sync imports to direct ES imports. r=markh,settings-reviewers,credential-management-reviewers,mconley,dimi
Differential Revision: https://phabricator.services.mozilla.com/D168837
2023-02-13 11:44:29 +00:00
Butkovits Atila
d9fd657ef1 Bug 1787020 - disable browser_locationBarCommand.js on Linux_64_opt for frequent failures. r=#intermittent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D169297
2023-02-09 09:11:21 +00:00
Daisuke Akatsuka
7a5bd87901 Bug 1812476: Move engagement telemetry tests for tips to under engagementTelemetry folder. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D169411
2023-02-10 22:29:49 +00:00
James Teow
b53b549e5d Bug 1815588 - Don't have the persist tip look selected upon load - r=adw
Initially I probably did this to mimic the search tip on the newtab page
but it's confusing since it's not actually selected.

Differential Revision: https://phabricator.services.mozilla.com/D169176
2023-02-10 00:44:58 +00:00
Daisuke Akatsuka
fa543b9869 Bug 1815342: Take telemetry of the user action that deletes the autofilled string. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D169172
2023-02-09 21:55:22 +00:00
James Teow
b4e25f4307 Bug 1812232 - Revert urlbar if a PopupNotification is about to be shown while search terms persist - r=adw,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D169025
2023-02-09 18:16:30 +00:00
Marco Bonardo
e6d6c68aa4 Bug 1810772 - Stop recalculating frecency immediately for bookmarks. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D168779
2023-02-08 08:54:57 +00:00
Stephanie Cunnane
6859613568 Bug 1815549 - Remove references to non-existent Assert.fail method. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D169137
2023-02-07 22:53:32 +00:00
Gregory Pappas
1297ba6415 Bug 1814980 - Remove MAX_OMNIBOX_RESULT_COUNT r=adw
MAX_OMNIBOX_RESULT_COUNT was introduced	in bug 1267810 to increase compatibility with Chromium.	It no longer serves this purpose as Chromium has since removed its limit of 6 extension-supplied results.

Differential Revision: https://phabricator.services.mozilla.com/D168891
2023-02-07 20:07:45 +00:00
Noemi Erli
351eeb9146 Backed out changeset d4b852d0732c (bug 1814980) for causing xpc failures in test_providerOmnibox.js 2023-02-07 17:52:58 +02:00
Gregory Pappas
41124daa50 Bug 1814980 - Remove MAX_OMNIBOX_RESULT_COUNT r=adw
MAX_OMNIBOX_RESULT_COUNT was introduced	in bug 1267810 to increase compatibility with Chromium.	It no longer serves this purpose as Chromium has since removed its limit of 6 extension-supplied results.

Differential Revision: https://phabricator.services.mozilla.com/D168891
2023-02-07 14:30:31 +00:00
Dão Gottwald
0c23643ea2 Bug 1790022 - Add "Learn more" item to the urlbar result menu for history items. r=fluent-reviewers,flod,jteow
Differential Revision: https://phabricator.services.mozilla.com/D168816
2023-02-07 10:16:26 +00:00
Drew Willcoxon
5f9e3b5752 Bug 1814795 - Support keyword-based weather suggestions in addition to zero-prefix. r=daisuke
This adds a new pref, `browser.urlbar.weather.zeroPrefix`. When true, weather
suggestions are shown on "zero prefix" like they are now, which means they're
shown when the user focuses the urlbar and before they type anything. When the
pref is false, the weather provider will show suggestions only if the search
string matches a keyword in a set of keywords managed by `QuickSuggest.weather`.

My plan is to store the keywords in the quick suggest config object in remote
settings. Nan suggested this too. Currently the config does not contain any
keywords, but this patch can be tested by setting the pref to false, running the
following in the browser console, and then typing "weather" in the urlbar:

```lang=js
ChromeUtils.importESModule("resource:///modules/QuickSuggest.sys.mjs")
  .QuickSuggest.remoteSettings._test_setConfig({
    weather_keywords: ["weather"],
  });
```

Other changes:

* It's possible for a keyword to match both the weather suggestion and a quick
  suggest suggestion. Only the weather suggestion should be shown. This patch
  modifies to the muxer for that.
* This modifies `UrlbarView.#rowLabel()` to show the "Top pick" (a.k.a. best
  match) label for keyword-based weather suggestions, in addition to zero-prefix
  suggestions like we currently do.
* This modifies the remote settings client so it becomes enabled when keyword-
  based weather suggestions are enabled, so that the config can be accessed.

Depends on D168738

Differential Revision: https://phabricator.services.mozilla.com/D168757
2023-02-07 02:26:55 +00:00
Drew Willcoxon
9f4378e671 Bug 1814732 - Move weather suggestions to their own provider. r=daisuke
This moves weather suggestions from the quick suggest provider to their own
provider. This will make it easier to implement weather suggestions that are
triggered by keyword instead of being shown on zero-prefix.

It does the following:

* Copies UrlbarProviderQuickSuggest.sys.mjs to UrlbarProviderWeather.sys.mjs
* Removes everything weather-related from UrlbarProviderQuickSuggest.sys.mjs
* Removes everything not weather-related from UrlbarProviderWeather.sys.mjs
* Makes some simplifications to the new provider since it doesn't need to
  support quick suggest suggestions
* Removes `result.payload.isWeather` since now we can use `result.providerName`
* This does *not* change any telemetry

Differential Revision: https://phabricator.services.mozilla.com/D168738
2023-02-07 02:26:54 +00:00
mcheang
ed920aed7d Bug 1814918 - Test weather url is navigated to when weather result is selected and entered. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D168823
2023-02-06 19:37:42 +00:00
Dão Gottwald
64875a0d74 Bug 1814828 - Handle clicks on result row border. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D168794
2023-02-06 14:01:22 +00:00
Cosmin Sabou
33e67d167e Bug 1806090 - temporarily disable browser_quickactions.js on linux for frequent failures. r=intermittent-reviewers,MasterWayZ
Differential Revision: https://phabricator.services.mozilla.com/D168909
2023-02-05 19:37:33 +00:00
Sandor Molnar
815e3f95d3 Backed out changeset 477317c7af48 (bug 1814828) for causing bc failuires browser/components/urlbar/tests/browser/browser_click_row_border.js CLOSED TREE 2023-02-03 19:59:24 +02:00
Dão Gottwald
c0cec5ef72 Bug 1814828 - Handle clicks on result row border. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D168794
2023-02-03 17:04:14 +00:00
Dão Gottwald
fa7b554ee2 Bug 1801389 - SPACE should open the result menu when the button is selected. r=mak,Jamie
Differential Revision: https://phabricator.services.mozilla.com/D168522
2023-02-03 03:11:20 +00:00
Dale Harvey
11f59f385e Bug 1806024 - Add telemetry for QuickAction inpressions. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D166611
2023-02-02 10:12:13 +00:00
Neil Deakin
21426e24f4 Bug 1776879, replace text/unicode for clipboard and drag and drop and use text/plain directly, r=edgar,mak,stransky,geckoview-reviewers,extension-reviewers,zombie,m_kato
Most usage is a straight replacement but gtk needs extra changes as it transfers plain text in UTF8 natively and needs to be converted into UTF16, and Windows uses single-byte characters for RTF and CF_HTML formats so we preserve this.

Differential Revision: https://phabricator.services.mozilla.com/D158587
2023-02-01 23:30:55 +00:00
Drew Willcoxon
50d6926ab7 Bug 1814318 - Make L10nCache.ensure() re-cache strings when excludeArgsFromCacheKey is set. r=dao
This is an error in how I implemented the `excludeArgsFromCacheKey` mechanism in
D167318. It can be fixed by always re-caching strings when
`excludeArgsFromCacheKey` is passed to `ensure()`. We could instead store the
argument values of currently cached strings and then re-cache only when
different argument values are passed to `ensure()`, but that would require a
deeper change and I don't think it's worth it.

Differential Revision: https://phabricator.services.mozilla.com/D168509
2023-02-01 17:20:00 +00:00
Daisuke Akatsuka
196f875251 Bug 1812197: Show page title by alternate same origin if matched origin has no title. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D168041
2023-01-31 21:32:07 +00:00
Gregory Pappas
7d1502f86d Bug 1813302 - Add missing blockL10n property to UrlbarProviderOmnibox payload r=dao,adw
Differential Revision: https://phabricator.services.mozilla.com/D168191
2023-01-31 18:50:23 +00:00
Gijs Kruitbosch
b965c4660a Bug 1795255 - autofix duplicate imports in tests under browser/, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D166179
2023-01-31 11:48:41 +00:00
Dão Gottwald
e53679d678 Bug 1813505 - Make browser_view_selectionByMouse.js work with the result menu button. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D168242
2023-01-31 09:52:44 +00:00
Mark Banner
9f5558b211 Bug 1812977 - Remove now unnecessary import-globals-from statements in browser. r=settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D168070
2023-01-30 19:33:37 +00:00
Drew Willcoxon
b2d3b1dc40 Bug 1813155 - Quick suggest provider should not be active for search strings that contain only spaces. r=mak
I broke this in D167218. We didn't have a test for it.

Differential Revision: https://phabricator.services.mozilla.com/D168139
2023-01-30 16:45:32 +00:00
Dale Harvey
0438990a06 Bug 1812152 - Add pref to control minimum chars needed to match quickaction. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D167713
2023-01-28 23:12:43 +00:00
Dão Gottwald
c549adc38a Bug 1811870 - Enable urlbar result menu in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D167693
2023-01-28 14:22:46 +00:00
Dão Gottwald
d7994183f4 Bug 1811507 - Fix highlighting of dynamic type rows. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D167795
2023-01-27 19:21:10 +00:00
Marco Bonardo
5b5956b117 Bug 1811484 - Perma Late Beta failure in browser_bufferer_onQueryResults.js. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D167954
2023-01-27 10:29:07 +00:00
Daisuke Akatsuka
72aca246e7 Bug 1725045: Remove browser.urlbar.resultGroups pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D167889
2023-01-26 23:10:19 +00:00
Daisuke Akatsuka
93900527e9 Bug 1808932: Take abandonment event even when closing the result view while the input does not have focus. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D167641
2023-01-25 22:38:27 +00:00
Norisz Fay
672d596020 Backed out changeset 19877ab1b745 (bug 1811870) for causing ba failures on browser_test_focus_urlbar.js CLOSED TREE 2023-01-25 13:49:42 +02:00
Dão Gottwald
64ff1baef8 Bug 1811870 - Enable urlbar result menu in Nightly. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D167693
2023-01-25 10:13:52 +00:00
Olivier Tilloy
ee46661816 Bug 1792816 - Always update the search engine placeholder name. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D165795
2023-01-24 22:51:21 +00:00
Daisuke Akatsuka
5e04583fb5 Bug 1791657: Show page title if it is in places. r=adw,mak
Depends on D159243

Differential Revision: https://phabricator.services.mozilla.com/D157891
2023-01-24 22:35:15 +00:00
Daisuke Akatsuka
d46b22b675 Bug 1791657: Introduce fallbackTitle into payload. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D159243
2023-01-24 22:35:14 +00:00
Gijs Kruitbosch
f281dc74b1 Bug 1811854 - switch remaining tests to BrowserTestUtils.loadURIString from BrowserTestUtils.loadURI, r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D167558
2023-01-24 13:19:11 +00:00