Commit graph

180 commits

Author SHA1 Message Date
Marco Bonardo
05cb18acc4 Bug 1876743 - Enable cross-container Tab Search in Nightly. r=mseibert
Fixes code to properly run tests with the feature enabled.
Fixes code not considering payload.userContextId is set to -1 for private
windows.
Fixes a bug in the _openTabs Map where multiple open tabs to the same url are
not properly counted.

Differential Revision: https://phabricator.services.mozilla.com/D200036
2024-02-07 09:29:32 +00:00
Marc Seibert
d7a1fa76c4 Bug 1855717 - Copy also from hidden results.r=adw
Differential Revision: https://phabricator.services.mozilla.com/D198240
2024-01-29 18:28:32 +00:00
Dale Harvey
37a4dedc0a Bug 1841762 - Ensure onEngagement has queryContext defined. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D197265
2024-01-18 17:52:58 +00:00
Mark Banner
8ce23e4908 Bug 1864821 - Replace PromiseUtils.defer() with Promise.withResolvers() in system modules. r=Gijs,perftest-reviewers,necko-reviewers,extension-reviewers,application-update-reviewers,fxview-reviewers,sync-reviewers,sessionstore-reviewers,reusable-components-reviewers,rpl,jesup,hjones,kshampur,skhamis,nalexander,sclements
Differential Revision: https://phabricator.services.mozilla.com/D197489
2024-01-05 09:22:34 +00:00
Daisuke Akatsuka
fe8ef57751 Bug 1853044: Open page with edited value by user regardless of selected result r=adw
Differential Revision: https://phabricator.services.mozilla.com/D196908
2023-12-25 01:19:25 +00:00
Mark Banner
00a8658fd9 Bug 1868749 - Remove search engine send attribution request. r=search-reviewers,daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D195758
2023-12-18 12:01:34 +00:00
Marco Bonardo
034a395cfb Bug 1863797 - Frequent failures in browser_schemeless.js due to UrlbarView.selectedElement removed from DOM. r=adw
#selectedElement may end up pointing to disconnected nodes. And so the public
.selectedElement getter.
This is how it was happening: a first call to onQueryResults adds and selects a
heuristic result. Then a second call to onQueryResults brings a new heuristic
result that requires new content (not compatible with the previous one), so the
old heuristic is emptied out, and new DOM is generated.
Because the code in onQueryResults relies on .selectedElement, at the second
invokation it thinks the selection is still valid, and doesn't select the new
heuristic. In reality .selectedElement at that time is pointing to a removed
DOM node.
The patch introduces a #rawSelectedElement and converts #selectedElement
into a getter.

Plus some minor logging improvements, and removing unused #mainContainer property.

Differential Revision: https://phabricator.services.mozilla.com/D195779
2023-12-13 10:05:26 +00:00
Benjamin VanderSloot
bba4592bef Bug 1525943 - Show identity section for web controlled about:blank. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D193804
2023-11-30 18:32:48 +00:00
Dale Harvey
5e2e7f430b Bug 1797488 - Ensure switchtotab loads URL in a tab if record is missing. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D194170
2023-11-28 06:33:56 +00:00
Marc Seibert
ffee0a897e Bug 1657237 - Address Bar flashes punycode when loading page.r=mak
Differential Revision: https://phabricator.services.mozilla.com/D192696
2023-11-20 17:11:23 +00:00
Cristian Tuns
dddbc43f01 Backed out changeset 09cf9c007215 (bug 1657237) for causing bc failures in browser_enter.js CLOSED TREE 2023-11-10 06:24:46 -05:00
Marc Seibert
138e783c51 Bug 1657237 - Address Bar flashes punycode when loading page.r=mak
Differential Revision: https://phabricator.services.mozilla.com/D192696
2023-11-10 09:51:36 +00:00
Daisuke Akatsuka
49f78e27b7 Bug 1830732: If there is a loading page in _blank target, copy its URL r=adw
Differential Revision: https://phabricator.services.mozilla.com/D191825
2023-10-26 00:22:00 +00:00
Abhishek Madan
64579a2665 Bug 1853998 - Updated UI to always show Copy without Site Tracking. r=pbz,anti-tracking-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188626
2023-10-19 15:05:04 +00:00
Norisz Fay
22f134f82e Backed out 2 changesets (bug 1853998, bug 1842581) for causing bc failures on browser_contextmenu.js
Backed out changeset ecb00efc209a (bug 1842581)
Backed out changeset 9c4eed63d7c0 (bug 1853998)
2023-10-17 19:02:06 +03:00
Abhishek Madan
ee0f226e60 Bug 1853998 - Updated UI to always show Copy without Site Tracking. r=pbz,anti-tracking-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188626
2023-10-17 14:16:07 +00:00
Marc Seibert
fb2d078230 Bug 1853418 - Urlbar Test Utils Preparation.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D191171
2023-10-17 12:19:47 +00:00
Narcis Beleuzu
ddb82d1891 Backed out changeset 444db85796e2 (bug 1853418) for bc failure on browser_closePanelOnClick.js . CLOSED TREE 2023-10-17 01:00:51 +03:00
Marc Seibert
4df6917d72 Bug 1853418 - Prepare Urlbar Tests.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D190554
2023-10-16 16:42:29 +00:00
Drew Willcoxon
0af427d8a4 Bug 1827966 - Part 4: Remove resultMenu pref and support for dismiss and help buttons. r=dao,fluent-reviewers,desktop-theme-reviewers
Depends on D190894, D190846

Differential Revision: https://phabricator.services.mozilla.com/D190895
2023-10-13 21:52:07 +00:00
Marc Seibert
964fbbfa4f Bug 1479858 - Added option for UrlBar search open tabs to ignore userContextId.r=mak,dao
Oiriginal patch author: Paresh Malalur <atararx@gmail.com>

Differential Revision: https://phabricator.services.mozilla.com/D187465
2023-10-13 08:48:46 +00:00
Norisz Fay
afe8c23687 Backed out changeset 1c43d6be9b10 (bug 1853418) for causing bc failures on browser_closePanelOnClick.js CLOSED TREE 2023-10-12 18:20:51 +03:00
Marc Seibert
83b9867d42 Bug 1853418 - Prepare Urlbar Tests.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D190554
2023-10-12 11:10:36 +00:00
Butkovits Atila
72ec7a68f3 Backed out 2 changesets (bug 1853998, bug 1842581) for causing failures at browser_strip_on_share_link.js. CLOSED TREE
Backed out changeset 666a5cee0716 (bug 1842581)
Backed out changeset 0c698bf2cec5 (bug 1853998)
2023-10-12 08:35:28 +03:00
Abhishek Madan
ddb26a4de3 Bug 1853998 - Updated UI to always show Copy without Site Tracking. r=pbz,anti-tracking-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D188626
2023-10-12 01:27:47 +00:00
Frederik Braun
ec7bc44fb5 Bug 1812192 - Address bar should mark navigations that were schemeless r=mak,Gijs,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179794
2023-10-11 17:49:42 +00:00
Cristian Tuns
5fabc0ee57 Backed out 6 changesets (bug 1812192) for causing browser_schemeless.js failures. CLOSED TREE
Backed out changeset 3d07a92324d0 (bug 1812192)
Backed out changeset 9c2a1ff6c90d (bug 1812192)
Backed out changeset fa6784f8b0f4 (bug 1812192)
Backed out changeset 0f39aba7e4d5 (bug 1812192)
Backed out changeset ef7219327a10 (bug 1812192)
Backed out changeset 9833b559342e (bug 1812192)
2023-10-10 10:02:25 -04:00
Frederik Braun
9301710e8e Bug 1812192 - Address bar should mark navigations that were schemeless r=mak,Gijs,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D179794
2023-10-10 08:42:59 +00:00
Marc Seibert
babd431fd4 Bug 1845710 - [UrlbarView] Add LRM to URLs with the protocol trimmed in the results pane.r=mak
Differential Revision: https://phabricator.services.mozilla.com/D186124
2023-09-26 15:00:54 +00:00
Dão Gottwald
736768b402 Bug 1853954 - Rename actionoverride to action-override and make it a standard boolean attribute. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D188606
2023-09-20 07:45:01 +00:00
Daisuke Akatsuka
8e9e77f019 Bug 1850902: Remove browser.fixup.alternate.enabled pref and its code path r=jteow,mak
Differential Revision: https://phabricator.services.mozilla.com/D187237
2023-09-10 22:33:27 +00:00
Daisuke Akatsuka
40adfe998c Bug 1637408: Append the protocol when copying if the urlbar value is autofilled r=adw
Differential Revision: https://phabricator.services.mozilla.com/D187364
2023-09-05 23:40:06 +00:00
Marc Seibert
dd2d4acac7 Bug 1848271 - Editing suggested URL is broken.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D185985
2023-08-14 11:09:41 +00:00
Marc Seibert
229719aff7 Bug 1067293 - Omit "https://".r=dao
Differential Revision: https://phabricator.services.mozilla.com/D184933
2023-08-09 22:27:21 +00:00
Marc Seibert
03206f501a Bug 1846261 - Editing autocompleted domains in URL bar is broken.r=mak
Differential Revision: https://phabricator.services.mozilla.com/D185051
2023-08-09 09:54:52 +00:00
Cristian Tuns
4d0c75f5cd Backed out changeset e99b30fd0931 (bug 1067293) for causing bc failures in browser_preferences_usage.js CLOSED TREE 2023-08-08 20:40:06 -04:00
Marc Seibert
8b470bef89 Bug 1067293 - Omit "https://".r=dao
Differential Revision: https://phabricator.services.mozilla.com/D184933
2023-08-08 19:19:57 +00:00
Karandeep
1643d58b56 Bug 1842230 - URL bar suggested action for paste when clipboard contains valid URL. r=mak,flod
Differential Revision: https://phabricator.services.mozilla.com/D183747
2023-08-01 11:51:59 +00:00
Marc Seibert
663d931818 Bug 1836962 - Only trim URL if directionality doesn't change to RTL.r=dao
Differential Revision: https://phabricator.services.mozilla.com/D184629
2023-07-27 11:46:46 +00:00
Gregory Pappas
3eac12bbd7 Bug 1845311 - Use ChromeUtils.defineLazyGetter in more places r=arai,webdriver-reviewers,geckoview-reviewers,extension-reviewers,application-update-reviewers,credential-management-reviewers,devtools-reviewers,fxview-reviewers,anti-tracking-reviewers,sessionstore-reviewers,pbz,joschmidt,robwu,issammani,bytesized,owlish,dao
Differential Revision: https://phabricator.services.mozilla.com/D184481
2023-07-26 16:28:11 +00:00
Marc Seibert
c1d53aee3f Bug 1416881 - Entering characters with character/accent marks on macOS doesn't remove the autofilled selected part.r=mak
Differential Revision: https://phabricator.services.mozilla.com/D182664
2023-07-18 08:00:38 +00:00
Mark Banner
182b6db303 Bug 1792824 - Convert ObjectUtils.jsm to an ES module. r=barret,necko-reviewers,devtools-reviewers,kershaw
Depends on D183308

Differential Revision: https://phabricator.services.mozilla.com/D183309
2023-07-12 08:07:23 +00:00
Marco Bonardo
9804a5187b Bug 1827770 - Remove QueryContext.view and pass the controller to onEngagement() instead. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D182771
2023-07-07 10:01:50 +00:00
Norisz Fay
8c7626e3a4 Backed out changeset 909fc50c54a1 (bug 1838743) for causing failures on browser_947914_button_paste.js CLOSED TREE 2023-07-07 05:57:07 +03:00
Daisuke Akatsuka
3b22c5aec2 Bug 1838743: Ignore paste event if the event was fired from not urlbar r=masayuki,dao
Differential Revision: https://phabricator.services.mozilla.com/D182880
2023-07-07 00:43:34 +00:00
Dão Gottwald
88142630b4 Bug 1840827 - Restore Go button when switching tabs. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D182453
2023-06-30 15:47:03 +00:00
Butkovits Atila
fd1f07a969 Backed out changeset a72a5e849a5d (bug 1840827) for causing failures at browser_windowopen.js. CLOSED TREE 2023-06-29 18:19:55 +03:00
Dão Gottwald
fba97dac29 Bug 1840827 - Restore Go button when switching tabs. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D182453
2023-06-29 13:35:07 +00:00
Stephanie Cunnane
2dc8ca34b8 Bug 1589602 - Improve urlbar performance with very long search strings. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D180734
2023-06-27 13:13:11 +00:00
Dão Gottwald
bef38031b7 Bug 1777870 - Format the urlbar value after tab select and focus change, and avoid formatting multiple times when handling blur events. r=jteow
Differential Revision: https://phabricator.services.mozilla.com/D181888
2023-06-27 12:42:07 +00:00