Daisuke Akatsuka
8c442be904
Bug 1928132: Implement dynamic Unified Search Button mode r=desktop-theme-reviewers,daleharvey,dao,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D228954
2024-12-05 07:13:31 +00:00
Adam Vandolder
2ba689d99e
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-05 01:20:07 +00:00
Goloman Adrian
05b7d33317
Backed out changeset 4d19e4620e63 (bug 1924861) for causing bc failures @browser_stop_pending.js. CLOSED TREE
2024-12-04 09:11:45 +02:00
Adam Vandolder
87c9038ba7
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-04 04:17:36 +00:00
Cosmin Sabou
82fbc8fbe4
Backed out changeset a8d030efc4ea (bug 1924861) for causing bc failures on browser_stop_pending.
2024-12-02 01:21:14 +02:00
Adam Vandolder
f6e7455adc
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-12-01 04:13:01 +00:00
Sandor Molnar
7e190c9386
Backed out changeset b94afd94ed9c (bug 1924861) for causing multiple bc failures. CLOSED TREE
2024-11-30 20:40:15 +02:00
Norisz Fay
5caeaca8fe
Backed out 2 changesets (bug 1928132) for causing failures on browser_mouseout_notification_panel.js and Bug 1934387, Bug 1934388, Bug 1934389 CLOSED TREE
...
Backed out changeset 2ea4986f9eb8 (bug 1928132)
Backed out changeset 4a72ad308d0c (bug 1928132)
2024-11-30 15:43:28 +02:00
Adam Vandolder
5f7b028386
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster,webdriver-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-29 23:38:09 +00:00
Daisuke Akatsuka
38412e4cd1
Bug 1928132: Implement dynamic Unified Search Button mode r=desktop-theme-reviewers,daleharvey,dao,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D228954
2024-11-29 21:24:53 +00:00
Goloman Adrian
2cd2737f6f
Backed out 2 changesets (bug 1928132) for causing bc failures browser_popupNotification_2.js. CLOSED TREE
...
Backed out changeset 5882194e7456 (bug 1928132)
Backed out changeset 0d13b91f55e0 (bug 1928132)
2024-11-29 15:18:36 +02:00
Daisuke Akatsuka
c738c0eb32
Bug 1928132: Implement dynamic Unified Search Button mode r=desktop-theme-reviewers,daleharvey,dao,tabbrowser-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D228954
2024-11-29 11:18:02 +00:00
Emilio Cobos Álvarez
768894a512
Bug 1932600 - Use customtitlebar rather than tabsintitlebar in front-end code. r=dao,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,nsharpley
...
This is probably also a better reflection of reality now that we can
have vertical tabs which would by definition not be in the titlebar.
Differential Revision: https://phabricator.services.mozilla.com/D229767
2024-11-28 12:12:51 +00:00
Cristina Horotan
bb08cc9f1d
Backed out 5 changesets (bug 1930292, bug 1932600) for causing chrome failures at test_maximized_persist.xhtml on a CLOSED TREE
...
Backed out changeset 2418bfee53f1 (bug 1932600)
Backed out changeset 3297e990715a (bug 1932600)
Backed out changeset 24a670dea977 (bug 1930292)
Backed out changeset 7dd9f48216dd (bug 1930292)
Backed out changeset 15a85ec739dd (bug 1930292)
2024-11-28 06:57:35 +02:00
Emilio Cobos Álvarez
26de824592
Bug 1932600 - Use customtitlebar rather than tabsintitlebar in front-end code. r=dao,desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,nsharpley
...
This is probably also a better reflection of reality now that we can
have vertical tabs which would by definition not be in the titlebar.
Differential Revision: https://phabricator.services.mozilla.com/D229767
2024-11-28 03:26:50 +00:00
Dão Gottwald
3245dd9a52
Bug 1928189 - Let Firefox View show tabs from collapsed groups. r=sthompson,fxview-reviewers,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D229896
2024-11-26 16:45:56 +00:00
Butkovits Atila
6a4f64d393
Backed out changeset 8c5bff1fa41a (bug 1924861) for causing failures at forward.py.
2024-11-26 12:51:09 +02:00
Adam Vandolder
fad0c07fe5
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-26 04:48:49 +00:00
Sandor Molnar
7058c42e18
Backed out changeset c64aebba09d9 (bug 1924861) for causing mochitest failures. CLOSED TREE
2024-11-26 03:17:30 +02:00
Adam Vandolder
2d308415a4
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-11-25 23:18:32 +00:00
Martin Sirringhaus
9fd347e052
Bug 1928686: Handle devices that do not send retriesLeft-counter (r=jschanck)
...
Differential Revision: https://phabricator.services.mozilla.com/D228332
2024-11-20 22:33:59 +00:00
Ray Kraesig
19038c4983
Bug 1929474 - [1/2] Fix Win10 tablet-mode hiding of close-button r=desktop-theme-reviewers,dao
...
The simplification of browser.css in bug 1844242 caused the close-button
to be hidden in tablet mode alongside the window-resizing buttons.
Revert that change's effect, and add documentation.
Differential Revision: https://phabricator.services.mozilla.com/D228205
2024-11-14 18:01:42 +00:00
Ray Kraesig
60ee4131e1
Bug 1819421 - [2/2] consider Win11 tablet mode for UI density r=win-reviewers,handyman,Gijs
...
Check for Windows 11 tablet mode when setting the UI density. (In
particular, have the UI-density object listen for the signal change,
rather than filtering it through `TabletModeUpdater`.)
This includes a change to the semantics of "tablet-mode-change": it now
signals Win11 tablet mode as distinct from Win10 tablet mode.
Differential Revision: https://phabricator.services.mozilla.com/D224245
2024-11-04 13:56:20 +00:00
Ray Kraesig
28f8d3d9cf
Bug 1819421 - [1/2] create parallel check for Win11 tablet mode r=win-reviewers,Gijs,gsvelto,gstoll
...
Win11's tablet mode is different from Win10's tablet mode in ways both
subtle and gross. Avoid unifying them implicitly, and make it clear that
they should not be unified _explicitly_ without testing.
Unfortunately, Windows 11's API for checking whether the device is in
tablet mode is broken -- it requires one to know whether the device is a
tablet to interpret the return value, but there is no documented API
providing that information. We use a heuristic partly borrowed from
Chromium and partly based on independent investigation.
As all of the code using WindowsUIUtils effectively only checked for
Win10's tablet mode, this commit technically has no functional
changes.
Differential Revision: https://phabricator.services.mozilla.com/D224244
2024-11-04 13:56:20 +00:00
Butkovits Atila
24b71f7279
Backed out 2 changesets (bug 1819421) for causing linting failures at browser.js. CLOSED TREE
...
Backed out changeset b4f770bfe94c (bug 1819421)
Backed out changeset b11774655311 (bug 1819421)
2024-11-01 19:43:00 +02:00
Ray Kraesig
048455f466
Bug 1819421 - [2/2] consider Win11 tablet mode for UI density r=win-reviewers,handyman,Gijs
...
Check for Windows 11 tablet mode when setting the UI density. (In
particular, have the UI-density object listen for the signal change,
rather than filtering it through `TabletModeUpdater`.)
This includes a change to the semantics of "tablet-mode-change": it now
signals Win11 tablet mode as distinct from Win10 tablet mode.
Differential Revision: https://phabricator.services.mozilla.com/D224245
2024-11-01 16:32:09 +00:00
Ray Kraesig
16f10abebe
Bug 1819421 - [1/2] create parallel check for Win11 tablet mode r=win-reviewers,Gijs,gsvelto,gstoll
...
Win11's tablet mode is different from Win10's tablet mode in ways both
subtle and gross. Avoid unifying them implicitly, and make it clear that
they should not be unified _explicitly_ without testing.
Unfortunately, Windows 11's API for checking whether the device is in
tablet mode is broken -- it requires one to know whether the device is a
tablet to interpret the return value, but there is no documented API
providing that information. We use a heuristic partly borrowed from
Chromium and partly based on independent investigation.
As all of the code using WindowsUIUtils effectively only checked for
Win10's tablet mode, this commit technically has no functional
changes.
Differential Revision: https://phabricator.services.mozilla.com/D224244
2024-11-01 16:32:08 +00:00
Norisz Fay
7c7d41d846
Backed out changeset 5b4cea7ea948 (bug 1924861) for causing mochitest failures on test_ext_tabs_goBack_goForward.html, test_bug1300461.html CLOSED TREE
2024-10-29 04:57:43 +02:00
Adam Vandolder
b0355ca479
Bug 1924861 - Only show the first history entry if it has user interaction. r=dom-core,omc-reviewers,sessionstore-reviewers,dao,peterv,tabbrowser-reviewers,mviar,sfoster
...
Differential Revision: https://phabricator.services.mozilla.com/D221390
2024-10-29 00:27:19 +00:00
Mike Conley
dd4373aecb
Bug 1920799 - Add a new messaging surface to the AppMenu and PXI menus for describing the value of signing into an FxA. r=pdahiya,Gijs,desktop-theme-reviewers,omc-reviewers,home-newtab-reviewers,fluent-reviewers,hjones,skhamis,nbarrett
...
Developing tests in a later patch in this series.
Differential Revision: https://phabricator.services.mozilla.com/D223409
2024-10-15 16:15:09 +00:00
Dão Gottwald
a5b1716f01
Bug 1921860 - Tab counts should include hidden tabs and tabs in collapsed tab groups. r=sthompson
...
Differential Revision: https://phabricator.services.mozilla.com/D225206
2024-10-10 13:59:46 +00:00
Chris H-C
724b00c304
Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,extension-reviewers,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D223833
2024-10-08 20:14:42 +00:00
Sandor Molnar
92076e16a7
Backed out 5 changesets (bug 1920562) for causing xpc assertion failures. CLOSED TREE
...
Backed out changeset 8f085ab589a8 (bug 1920562)
Backed out changeset 4405387ae770 (bug 1920562)
Backed out changeset a68fd13a33ae (bug 1920562)
Backed out changeset cd3672fc08ed (bug 1920562)
Backed out changeset 62ab18879eea (bug 1920562)
2024-10-08 00:16:13 +03:00
Chris H-C
e944bfe7a2
Bug 1920562 - Remove JS uses of Services.telemetry.setEventRecordingEnabled r=florian,settings-reviewers,pip-reviewers,credential-management-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,sessionstore-reviewers,omc-reviewers,migration-reviewers,firefox-desktop-core-reviewers ,urlbar-reviewers,sfoster,nchevobbe,valentin,Gijs,dimi,lina,mconley,pdahiya
...
Differential Revision: https://phabricator.services.mozilla.com/D223833
2024-10-07 17:29:57 +00:00
Gijs Kruitbosch
70debc7c0a
Bug 1920319 - add dedicated keypress handler for new tab buttons, r=tabbrowser-reviewers,dao
...
Right now, tabbrowser relies on browser-toolbarKeyNav.js for keyboard access to these buttons on macOS.
There's also toolkit handling for space, but not enter, in https://searchfox.org/mozilla-central/rev/9fe73403523732f57cd82d30590ecc272fb0b165/toolkit/content/widgets/button.js#27-34 .
In vertical tabs mode, browser-toolbarKeyNav does not help us as the buttons aren't in the toolbox.
On Nightly, the containers-related code in https://searchfox.org/mozilla-central/rev/9fe73403523732f57cd82d30590ecc272fb0b165/browser/components/tabbrowser/content/tabs.js#1422-1428
adds the buttons to gClickAndHoldListeners, which have their own keypress handling. This happens whenever
containers are enabled. Those are not enabled by default on non-nightly, and so we end up missing a keypress
handler in vertical tabs mode on non-Nightly on macOS.
This is all a big mess and we should probably figure out a better solution. But given this needs beta uplift,
the expedient solution seems to be a dedicated listener and making sure that only 1 listener is invoked.
Differential Revision: https://phabricator.services.mozilla.com/D224094
2024-09-30 13:15:28 +00:00
Florian Quèze
03b00e2a53
Bug 1918702 - Migrate telemetry events to use Glean APIs for firefoxview, r=chutten,fxview-reviewers,jsudiaman.
...
Differential Revision: https://phabricator.services.mozilla.com/D222416
2024-09-20 13:58:15 +00:00
Henry Wilkes
1a0ae5644c
Bug 1919363 - Only show one app menu "new window" item in permanent private browsing. r=mconley
...
We also update the browser_private_browsing_window.js test.
The previous test was limited because it was referring to non-existent
"appmenu_newNavigator" and "appmenu_newPrivateWindow".
Differential Revision: https://phabricator.services.mozilla.com/D222507
2024-09-19 19:23:04 +00:00
Henry Wilkes
e8235e9c72
Bug 1919297: Clean up unused isProductURL import in browser.js. r=shopping-reviewers,Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D222477
2024-09-17 14:07:50 +00:00
Manuel Bucher
da7c7ce7fc
Bug 1452899 - Update the certificate security info on changed certificate in url bar lock icon r=pbz
...
This removes the security information cache from the lock icon.
Basic testing of how often the cache is used showed that it was only
used rarly (2%-3% of the function calls).
The alternative approach would be to also check whether the cert changed
using `gBrowser.securityUI.secInfo.serverCert`. However, caching the
security information doesn't seem worth the effort here. The cache only
gets used when url is exactly the same (uri.spec). And checking
whether the cert is exactly the same looks more expensive to do each
time vs the slim benefit of rarely not needing to update the UI.
Differential Revision: https://phabricator.services.mozilla.com/D214549
2024-09-17 12:01:51 +00:00
Emilio Cobos Álvarez
90897ae6d8
Bug 1917458 - Remove bookmarks-toolbar-overlapping-browser code. r=desktop-theme-reviewers,tabbrowser-reviewers,dao
...
After the previous patch, we don't jank all remote tabs when resizing
the browser, so this can go. This should also make general window
resizing faster.
Differential Revision: https://phabricator.services.mozilla.com/D221996
2024-09-16 13:21:51 +00:00
Cristian Tuns
482d5b9f87
Backed out 5 changesets (bug 1917458) for causing wpt failures in no_window_open_when_term_nesting_level_nonzero.window.html CLOSED TREE
...
Backed out changeset 157eb2ada2ca (bug 1917458)
Backed out changeset 3f6d758ac9c6 (bug 1917458)
Backed out changeset 65384dcd3d9a (bug 1917458)
Backed out changeset e4cca274eb5a (bug 1917458)
Backed out changeset 2b1c3c2aef15 (bug 1917458)
2024-09-14 21:04:04 -04:00
Emilio Cobos Álvarez
8d2ba7e03e
Bug 1917458 - Remove bookmarks-toolbar-overlapping-browser code. r=desktop-theme-reviewers,tabbrowser-reviewers,dao
...
After the previous patch, we don't jank all remote tabs when resizing
the browser, so this can go. This should also make general window
resizing faster.
Differential Revision: https://phabricator.services.mozilla.com/D221996
2024-09-14 23:23:52 +00:00
Niklas Baumgardner
12a9f7dca7
Bug 1885997 - Show profiles in profile selector window. r=jhirsch,fluent-reviewers,desktop-theme-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D220032
2024-09-12 15:58:04 +00:00
Florian Quèze
7346c45e51
Bug 1917838 - Remove expired telemetry event close_tab_warning.shown, r=chutten,tabbrowser-reviewers,firefox-desktop-core-reviewers ,dao.
...
Differential Revision: https://phabricator.services.mozilla.com/D221650
2024-09-12 13:42:22 +00:00
Paul Zuehlcke
d44af5f1e9
Bug 1916946 - Remove 'private_browsing.window_open_during_teardown' telemetry. r=firefox-desktop-core-reviewers ,mconley
...
This reverts commit 90baa7558e4bb31de60d8a4604ca965e4f8c6485.
Differential Revision: https://phabricator.services.mozilla.com/D221457
2024-09-09 15:42:31 +00:00
isaacylee
cfa004f3c1
Bug 1558149 - Use 'loadFlags' instead of 'flags' for flags eventually passed to 'loadURI' or 'fixupAndLoadURIString' r=Gijs,geckoview-reviewers,tabbrowser-reviewers,dao,owlish
...
Differential Revision: https://phabricator.services.mozilla.com/D216324
2024-08-31 22:00:59 +00:00
Adam Vandolder
d62196f820
Bug 1734181 - Part 3: Always display the current history entry in the menulist, regardless of interaction state. r=jjaschke,peterv,dom-core
...
Differential Revision: https://phabricator.services.mozilla.com/D216827
2024-08-24 19:43:31 +00:00
timw-dev
84076b9d83
Bug 1896764 - onViewToolbarsPopupShowing and ToolbarContextMenu should move out of browser.js.r=scunnane,rpl
...
Differential Revision: https://phabricator.services.mozilla.com/D217795
2024-08-22 11:11:50 +00:00
Niklas Baumgardner
2d9dacd550
Bug 1893710 - Update default profile on window focus. r=jhirsch,mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D217825
2024-08-21 11:47:32 +00:00
Florian Quèze
fa2a31be59
Bug 1913624 - Remove expired telemetry histogram FX_TABLETMODE_PAGE_LOAD, r=TravisLong.
...
Depends on D219484
Differential Revision: https://phabricator.services.mozilla.com/D219485
2024-08-21 09:14:32 +00:00