Commit graph

3218 commits

Author SHA1 Message Date
Dale Harvey
139c6f03ab Bug 1906192 - Only enable trending suggestions on 128 for en-US / en-CA users. r=adw a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D215699
2024-07-03 22:19:54 +00:00
Mark Banner
6ee0795092 Bug 1897142 - Fix test_UrlbarSearchUtils.js on Beta. a=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D214410
2024-06-20 15:46:14 +00:00
Dale Harvey
6ca49729fa Bug 1871054 - Dont show suggestions for single character query. a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D213774

Differential Revision: https://phabricator.services.mozilla.com/D214093
2024-06-18 14:27:48 +00:00
Dale Harvey
59b7067ff0 Bug 1900601 - Dont enter search mode when '>' is pressed. r=daisuke,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212558
2024-06-07 13:32:36 +00:00
Karandeep
a4a050993c Bug 1898437 - Fix TypeError on re-submitting a search link by ensuring details.result is defined. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D212111
2024-06-07 12:04:02 +00:00
Barret Rennie
9ef1c3a9cb Bug 1829412 - Simplify NimbusTestUtils.enrollmentHelper r=chumphreys,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,anti-tracking-reviewers,omc-reviewers,home-newtab-reviewers,thecount,issammani,aminomancer,mconley
The enrollmentHelper was much more complicated than it needed to be. The
internal asynchrony that required awaiting an additional promise was fixed in
bug 1773583.

The returned cleanup function is no longer async, so unnecessary awaits have
been removed. This also applies to enrollWithFeatureConfig, as it is a wrapper
around enrollmentHelper.

Differential Revision: https://phabricator.services.mozilla.com/D212318
2024-06-06 14:42:00 +00:00
Barret Rennie
01f4c08e98 Bug 1829412 - Use enrollWithFeatureConfig in quicksuggest tests r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D212317
2024-06-06 14:42:00 +00:00
Dale Harvey
6a201fe0b4 Bug 1900900 - Enable trending suggestions and recent searches for release. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D212750
2024-06-06 11:27:28 +00:00
Dão Gottwald
d5d1671ee1 Bug 1900575 - Make focused a proper boolean attribute. r=desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D212544
2024-06-04 17:34:07 +00:00
Yazan Al Macki
6e3ae0cd21 Bug 1890761 - Checking currentPage and userContextId to prevent Switch To Tab suggestion from showing for current tab and/or current container based on pref. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D210824
2024-06-04 16:42:57 +00:00
Moritz Beier
47de7bd820 Bug 1610530 - Use classes instead of ids to access urlbar elements from UrlbarInput. r=dao,webdriver-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D212095
2024-06-04 12:58:52 +00:00
Nathan Barrett
05d9a8a7d5 Bug 1893007 - add location query to weather widget r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212069
2024-06-03 20:59:32 +00:00
Norisz Fay
32333031ed Backed out changeset 11b5fa2ce936 (bug 1893007) for causing multiple weather related failures 2024-06-01 02:57:28 +03:00
Nathan Barrett
39b1fbb494 Bug 1893007 - add location query to weather widget r=thecount,home-newtab-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D212069
2024-05-31 21:31:42 +00:00
Moritz Beier
4d53de9ac8 Bug 1893228 - Move address bar expandos set on browsers to the #browserStates WeakMap. r=dao,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D211574
2024-05-31 16:04:16 +00:00
Marco Bonardo
48d2776de5 Bug 1862404 - Scheme not properly shown on overflow by RTL domains. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D210687
2024-05-30 11:29:49 +00:00
James Teow
e86e1219d5 Bug 1892002 - Integrate Top Sites component with UrlProviderTopSites - r=dao
Differential Revision: https://phabricator.services.mozilla.com/D211525
2024-05-29 18:03:08 +00:00
Dale Harvey
482f5caaaa Bug 1897152 - Correct logic for how many characters to match secondaryActions. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D211847
2024-05-29 12:01:11 +00:00
Dale Harvey
bacd7db5ed Bug 1860753 - Check for correct loading parameters during recent searches test. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D211920
2024-05-29 11:16:31 +00:00
Dale Harvey
33ece54a86 Bug 1893069 - Add 'browser.urlbar.scotchBonnet.enableOverride' pref. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D210374
2024-05-27 21:56:56 +00:00
Malte Juergens
893f350260 Bug 1884921 - Update HTTPS-First Tests to work with new exception behaviour on failiure r=freddyb
These tests would fail if we automatically add a HTTPS-First exception. So this
patch either removes those exceptions again throughout the tests, or disables
the adding of automatic exceptions via a pref.

Differential Revision: https://phabricator.services.mozilla.com/D204757
2024-05-27 18:57:25 +00:00
Marco Bonardo
7f35c45fa5 Bug 1626741 - Roll-up other panels when the Address Bar results panel opens. r=NeilDeakin,jteow
Differential Revision: https://phabricator.services.mozilla.com/D210711
2024-05-27 12:24:54 +00:00
Iulian Moraru
c2f37d420b Backed out changeset 4a2ec4353ec1 (bug 1626741) for causing bc failures on browser_fullscreen_context_menu.js. CLOSED TREE 2024-05-25 11:32:43 +03:00
Mark Banner
67039cecb0 Bug 1897508 - Separate out search engine icon updates into a separate notification subject. r=search-reviewers,settings-reviewers,mcheang
This also avoids sending an engine-update Glean event for the default engine by not handling the engine-icon-update
notification in the update tracking code.

Differential Revision: https://phabricator.services.mozilla.com/D210838
2024-05-24 09:10:05 +00:00
ujas.thakkar
f8c049e130 Bug 1874917 - Rename SearchTestUtils.promiseNewSearchEngine to SearchTestUtils.installOpenSearchEngine r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D211309
2024-05-23 16:17:00 +00:00
Marco Bonardo
bc85923a41 Bug 1868605 - Add a test to ensure changing the url ref in the address bar causes a HASHCHANGE load. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D210489
2024-05-23 16:05:49 +00:00
Marco Bonardo
e47137db7e Bug 1626741 - Roll-up other panels when the Address Bar results panel opens. r=NeilDeakin,jteow
Differential Revision: https://phabricator.services.mozilla.com/D210711
2024-05-23 16:05:26 +00:00
Daisuke Akatsuka
5f662f0349 Bug 1897319: Hide url from Yelp suggestion r=adw
Depends on D210745

Differential Revision: https://phabricator.services.mozilla.com/D210746
2024-05-23 12:13:50 +00:00
Daisuke Akatsuka
a19fb26b8d Bug 1897319: Use default size for Yelp icon r=adw,desktop-theme-reviewers,emilio
Differential Revision: https://phabricator.services.mozilla.com/D210745
2024-05-23 12:13:50 +00:00
Andrew McCreight
60a22bb52c Bug 1897836 - Actually pass in background() to ExtensionTestUtils.loadExtension in some URL bar tests. r=Standard8
Right now, these only works because of the JSON serialization fallback, but
the background() function is getting dropped. This slightly changes the
test results, but hopefully the new behavior is valid.

Differential Revision: https://phabricator.services.mozilla.com/D210961
2024-05-21 20:38:19 +00:00
Drew Willcoxon
e01baaa564 Bug 1897857 - Improve the browser_blobIcons.js urlbar test. r=daisuke
While working on D210972, I found that browser_blobIcons.js intermittently fails
because AppProvidedSearchEngine.sys.mjs also creates blob URLs. The failure
happened locally when I was running browser_blobIcons.js by itself, so it might
only be a problem in that scenario, shortly after browser startup.

Regardless, the test shouldn't assume that the only part of the app that creates
blob URLs is the part being tested. This patch makes these changes:

* Use a particular test blob (instead of an empty blob)
* Filter out `createObjectURL()` calls that don't pass the test blob
* Filter out `revokeObjectURL()` calls that don't pass the expected blob URL
* Reset the spies after each part to make the test a little easier to follow.
  Right now the call counts accumulate since the spies are never reset, which
  makes the test harder to understand and modify.

Differential Revision: https://phabricator.services.mozilla.com/D210981
2024-05-21 19:08:31 +00:00
Yazan Al Macki
9dfafed6f4 Bug 1885897 - Remove browser.urlbar.update2.emptySearchBehavior pref, and test cases where it is set to non-default value. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D210081
2024-05-17 14:36:43 +00:00
Dale Harvey
e1a1349681 Bug 1860753 - Disable topsites suggestions during recentsearches test. r=daisuke
Differential Revision: https://phabricator.services.mozilla.com/D210484
2024-05-17 13:36:56 +00:00
Robin Steuber
f44f8ef955 Bug 1875502 - Pre: Update tests to accomodate async downloadingUpdate r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209118
2024-05-16 20:01:50 +00:00
Robin Steuber
0d911fbc65 Bug 1875502 - Pre: Update tests to accomodate async readyUpdate r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209116
2024-05-16 20:01:49 +00:00
Robin Steuber
025dc7710c Bug 1875502 - Pre: Make AUS._checkForBackgroundUpdates async r=nalexander,application-update-reviewers,firefox-desktop-core-reviewers
I want the initialization function that I'm going to add later in the patch stack to be asynchronous, so the update entry points should be asynchronous functions.

Differential Revision: https://phabricator.services.mozilla.com/D209109
2024-05-16 20:01:47 +00:00
Barret Rennie
972e870f9a Bug 1790428 - Remove ExperimentFakes.enrollWithRollout r=chumphreys
enrollWithRollout skipped all enrollment logic in ExperimentManager.enroll by
calling ExperimentStore.addEnrollment directly. This prevents prefs being set
by Nimbus correctly when enrolling. enrollWithFeatureConfig already supports
enrolling as a rollout, so all uses of enrollWithRollout have been replaced.

Differential Revision: https://phabricator.services.mozilla.com/D209936
2024-05-16 17:15:58 +00:00
Simon Friedberger
1f46481d6c Bug 1897127 - Disable HTTPS-First for browser_url_formatted_correctly_on_load.js, r=freddyb,mak
Differential Revision: https://phabricator.services.mozilla.com/D210644
2024-05-16 15:26:42 +00:00
Sandor Molnar
592ca16351 Backed out changeset c9a936171ae4 (bug 1790428) for causing bc failures @ browser/components/privatebrowsing/test/browser/browser_privatebrowsing_about_nimbus_impressions.js CLOSED TREE 2024-05-16 01:29:10 +03:00
Barret Rennie
d7ad02fc32 Bug 1790428 - Remove ExperimentFakes.enrollWithRollout r=chumphreys
enrollWithRollout skipped all enrollment logic in ExperimentManager.enroll by
calling ExperimentStore.addEnrollment directly. This prevents prefs being set
by Nimbus correctly when enrolling. enrollWithFeatureConfig already supports
enrolling as a rollout, so all uses of enrollWithRollout have been replaced.

Differential Revision: https://phabricator.services.mozilla.com/D209936
2024-05-15 19:19:29 +00:00
Sandor Molnar
d2115d8eec Backed out 23 changesets (bug 1887980, bug 1875502) for causing xpc failures @ toolkit/components/extensions/test/xpcshell/test_ext_storage_idb_data_migration.js CLOSED TREE
Backed out changeset fb53b5f266e2 (bug 1875502)
Backed out changeset 9157c611617d (bug 1875502)
Backed out changeset 924b7230a45e (bug 1875502)
Backed out changeset d83fa2a0c858 (bug 1887980)
Backed out changeset c538de825468 (bug 1875502)
Backed out changeset a6c1ee51eadb (bug 1875502)
Backed out changeset 47bc52e77563 (bug 1875502)
Backed out changeset 54d53947927a (bug 1875502)
Backed out changeset 6bc2601a69bd (bug 1875502)
Backed out changeset 917a4aed3b4b (bug 1875502)
Backed out changeset afa0353ca6a2 (bug 1875502)
Backed out changeset 42ad3c8fe41e (bug 1875502)
Backed out changeset b5f4c67a548b (bug 1875502)
Backed out changeset d47c42d117e3 (bug 1875502)
Backed out changeset a33c98ac118c (bug 1875502)
Backed out changeset b57983b426ba (bug 1875502)
Backed out changeset a013811a156b (bug 1875502)
Backed out changeset 05b53ed47055 (bug 1875502)
Backed out changeset aa0eee306544 (bug 1875502)
Backed out changeset 5736dca8c05b (bug 1875502)
Backed out changeset 6e60ddb35c98 (bug 1875502)
Backed out changeset fcb327ff8717 (bug 1875502)
Backed out changeset 1950b330d253 (bug 1875502)
2024-05-16 00:21:12 +03:00
Robin Steuber
1699247a2d Bug 1875502 - Pre: Update tests to accomodate async downloadingUpdate r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209118
2024-05-15 17:06:14 +00:00
Robin Steuber
152c8a9726 Bug 1875502 - Pre: Update tests to accomodate async readyUpdate r=nalexander,application-update-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209116
2024-05-15 17:06:13 +00:00
Robin Steuber
388cb24918 Bug 1875502 - Pre: Make AUS._checkForBackgroundUpdates async r=nalexander,application-update-reviewers,firefox-desktop-core-reviewers
I want the initialization function that I'm going to add later in the patch stack to be asynchronous, so the update entry points should be asynchronous functions.

Differential Revision: https://phabricator.services.mozilla.com/D209109
2024-05-15 17:06:11 +00:00
Karandeep
c3fae1d309 Bug 1857236 - invoking onEngagement on every provider is error prone. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D202482
2024-05-15 13:13:02 +00:00
Cristian Tuns
dad1423a62 Backed out changeset 9db188aa6dac (bug 1790428) for causing bc failures in browser_remotesettingsexperimentloader_remote_defaults.js CLOSED TREE 2024-05-14 18:00:11 -04:00
Barret Rennie
f22c00c889 Bug 1790428 - Remove ExperimentFakes.enrollWithRollout r=chumphreys
enrollWithRollout skipped all enrollment logic in ExperimentManager.enroll by
calling ExperimentStore.addEnrollment directly. This prevents prefs being set
by Nimbus correctly when enrolling. enrollWithFeatureConfig already supports
enrolling as a rollout, so all uses of enrollWithRollout have been replaced.

Differential Revision: https://phabricator.services.mozilla.com/D209936
2024-05-14 16:18:01 +00:00
Emilio Cobos Álvarez
795b12c223 Bug 1895870 - Fix browser_quicksuggest_onboardingDialog.js.
onboardingNext is visibility: hidden and thus not focusable. Before my
patch, the focus wasn't fixed-up properly, but now it is.

MANUAL PUSH: Test only orange fix CLOSED TREE
2024-05-14 16:56:32 +02:00
Marco Bonardo
63eaf27d08 Bug 1893871 - When untrimming the URL adjust partial selection depending on whether the selected text is a valid URL. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D210027
2024-05-14 11:33:57 +00:00
Malte Juergens
e4a5d5f54d Bug 1835983 - Disable HTTPS-First explicitly in browser/components/urlbar/tests/browser/browser_urlbar_telemetry_autofill.js r=freddyb,mak
Differential Revision: https://phabricator.services.mozilla.com/D209802
2024-05-14 10:51:11 +00:00