Commit Graph

3015 Commits

Author SHA1 Message Date
Jeremy Swinarton
a80eb49e6c Bug 1939904: Closed tab groups in history menus can be restored regardless of window they were closed in. r=dao,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D234042
2025-01-14 17:49:24 +00:00
Nikki Sharpley
3106c425e7 Bug 1930220 - Assert nothing changes in the toolbar upon browser restarts r=mconley,webdriver-reviewers,whimboo
To help catch bugs such as Bug 1919721, assert the toolbar is unchanged and widgets are in the correct order on browser restart.

Differential Revision: https://phabricator.services.mozilla.com/D233749
2025-01-13 16:40:34 +00:00
Alexandru Marc
6f253b451f Backed out changeset 713114c0331a (bug 1938707) by developer request CLOSED TREE 2025-01-13 18:29:52 +02:00
Nikki Sharpley
55d657620d Bug 1938707 - Assert nothing changes in the toolbar upon browser restarts r=mconley,webdriver-reviewers,whimboo
To help catch bugs such as Bug 1919721, assert the toolbar is unchanged and widgets are in the correct order on browser restart.

Differential Revision: https://phabricator.services.mozilla.com/D233749
2025-01-13 16:20:20 +00:00
Nikki Sharpley
2c3ff409c2 Bug 1940304 - Fix browser_sidebar_button_reset.js intermittent r=sidebar-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D233433
2025-01-08 21:41:21 +00:00
Nikki Sharpley
96a8625c9d Bug 1919223 - Restore sidebar-button when CustomizableUI is reset if sidebar revamp enabled r=sidebar-reviewers,kcochrane,sclements
Differential Revision: https://phabricator.services.mozilla.com/D232847
2025-01-07 17:32:20 +00:00
Emilio Cobos Álvarez
6752d74098 Bug 1929400 - Remove CUI special cases for BookmarksBarButton. r=mak,omc-reviewers,jprickett
We can just tag the widget as not removable.

Differential Revision: https://phabricator.services.mozilla.com/D228103
2024-12-19 14:32:52 +00:00
Tom Schuster
b5796e10bf Bug 1936523 - Remove inline event handlers from PopupNotifications. r=Gijs,extension-reviewers,reusable-components-reviewers,mstriemer
I ended up having to change some of the fundamentals of the popupnotification element because the code relied on being able to inherit inline event handler attributes such as buttoncommand as oncommand on the button element and so on.

The primary user of the popupnotification element seems to be `PopupNotifications`. Following a pre-existing coupling with `PopupNotifications._onCheckboxCommand`, by default all commands/actions will simply call the corresponding `PopupNotifications` handler. However, I found at least one instance in `panelUI.js` that tries to override the command handlers. I solved this by dispatching a custom cancelable event on the popupnotification element.

Differential Revision: https://phabricator.services.mozilla.com/D231927
2024-12-18 17:38:57 +00:00
Nikki Sharpley
2d0cfb1365 Bug 1933592 - Hide the sidebar launcher if the sidebar toolbar button is removed r=sidebar-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D231749
2024-12-18 16:07:19 +00:00
Norisz Fay
066b9b823f Backed out changeset f76adacaf89e (bug 1933592) for causing sidebar related bc failures 2024-12-17 22:34:55 +02:00
Nikki Sharpley
a55e56e8ea Bug 1933592 - Hide the sidebar launcher if the sidebar toolbar button is removed r=sidebar-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D231749
2024-12-17 18:45:58 +00:00
Stanca Serban
8786cc2a86 Backed out changeset d72b9cd2e9ab (bug 1933592) for sidebar related mochitests failures. CLOSED TREE 2024-12-17 19:55:12 +02:00
Nikki Sharpley
77ffffe41a Bug 1933592 - Hide the sidebar launcher if the sidebar toolbar button is removed r=sidebar-reviewers,jsudiaman
Differential Revision: https://phabricator.services.mozilla.com/D231749
2024-12-17 15:41:49 +00:00
Robin Steuber
0e04f7611b Bug 1907120 - Remove other multi-instance checks now that we check at startup r=nrishel,nalexander,desktop-theme-reviewers,application-update-reviewers,dao
This does keep the checks in the interactive update interface, since we don't want to to show the user the "Restart to Update" button at the end if restarting will not update.

Differential Revision: https://phabricator.services.mozilla.com/D227285
2024-12-13 02:57:36 +00:00
Cristina Horotan
84e4c5d98c Backed out 9 changesets (bug 1907127, bug 1907126, bug 1907128, bug 1907120) for causing build bustages at nsAppRunner.cpp CLOSED TREE
Backed out changeset 7a9ba6ef7133 (bug 1907126)
Backed out changeset c500e441e887 (bug 1907126)
Backed out changeset 6cec10a15827 (bug 1907126)
Backed out changeset 636054838661 (bug 1907126)
Backed out changeset d6310226067f (bug 1907128)
Backed out changeset 386145953b08 (bug 1907120)
Backed out changeset 77099a71e959 (bug 1907127)
Backed out changeset b9604bb0b576 (bug 1907127)
Backed out changeset cb625b7eb786 (bug 1907127)
2024-12-13 04:00:23 +02:00
Robin Steuber
882992c53b Bug 1907120 - Remove other multi-instance checks now that we check at startup r=nrishel,nalexander,desktop-theme-reviewers,application-update-reviewers,dao
This does keep the checks in the interactive update interface, since we don't want to to show the user the "Restart to Update" button at the end if restarting will not update.

Differential Revision: https://phabricator.services.mozilla.com/D227285
2024-12-13 00:18:34 +00:00
Kelly Cochrane
000814bd68 Bug 1897411 - Add keyboard shortcut for expanding/collapsing the new sidebar r=sidebar-reviewers,fluent-reviewers,bolsson,sclements
Differential Revision: https://phabricator.services.mozilla.com/D229405
2024-12-12 21:34:38 +00:00
Nikki Sharpley
c959dc5a6a Bug 1935835 - Fix perma failing browser_vertical_tabs_customize_navbar.js r=sidebar-reviewers,jsudiaman
- fix setup and cleanup so that tests pass on --verify
- need to add "sidebar.revamp" to ensure sidebar button gets added each time
- make test more dynamic in case extra nav bar buttons are added later

Differential Revision: https://phabricator.services.mozilla.com/D231747
2024-12-12 20:14:58 +00:00
Jeremy Swinarton
cf23be9260 Bug 1933485: Ensure tab groups always appear in history menus r=dao,sthompson,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230985
2024-12-12 14:36:08 +00:00
Tom Schuster
a7bbaa266b Bug 1936519 - Remove inline event handler from panic-button success panel. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D231786
2024-12-11 18:40:00 +00:00
Nikki Sharpley
2406690a12 Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-10 18:19:41 +00:00
Nikki Sharpley
49993c77c2 Bug 1935892 - Fix removed Firefox View button return after restart r=sidebar-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D231614
2024-12-10 14:55:42 +00:00
Narcis Beleuzu
02b99b99dd Backed out changeset ce16236a08a0 (bug 1932478) for bc failure on /browser_UsageTelemetry_toolbars.js 2024-12-10 02:57:32 +02:00
Nikki Sharpley
36d391d42e Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-09 21:17:46 +00:00
Mike Conley
e06d4179af Bug 1932859 - Prevent auto-closing of the AppMenu / FxA panels when generically clicking the FxA menu message CTA. r=pdahiya,omc-reviewers
The change in CustomizableUI is required because the routine wasn't designed to handle
custom elements with shadow roots. The routine's job is to walk up the ancestry of
the click event and determine if any of the parents have certain characteristics
that would indicate that the event should not close the panel, and without this
change it would bail out as soon as it hit the shadow root if the event's original
target was inside the custom element.

In this case, the element enclosing the fxa-menu-message is the "appMenu-fxa-menu-message"
toolbaritem with `closemenu="none"`, which this modification now lets
CustomizableUI detect.

Differential Revision: https://phabricator.services.mozilla.com/D230560
2024-12-09 21:16:19 +00:00
Stanca Serban
da3d608a00 Backed out changeset dc6b2995a01c (bug 1932478) for causing mochitests failures in browser_vertical_tabs_customize_navbar.js. CLOSED TREE 2024-12-09 21:06:49 +02:00
Nikki Sharpley
716925c0a7 Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-09 17:23:13 +00:00
Luca Greco
764246b5cb Bug 1935726 - Use default OK button string in the addon post install dialog. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D226953
2024-12-09 12:25:29 +00:00
Nikki Sharpley
c125adfa0a Bug 1926360 - Save customized fxview, list all tabs button and other tab strip widget locations in nav bar when vertical tabs enabled r=sidebar-reviewers,sclements,mconley
We want the nav-bar customizations to be the same across vertical and horizontal tabs mode, minus the Fxview, "list all tabs" buttons, and any other tab strip widgets moved to the nav-bar.
- If the Fxview and "list all tabs" buttons and tab-strip widgets are removed in the nav-bar in vertical mode, they are removed from the tab-strip when switching back to horizontal mode.
- If the Fxview and "list all tabs" buttons and tab-strip widgets are moved in the nav-bar in vertical mode, this should be remembered for vertical mode. Their positions in horizontal mode should remain as they were in horizontal mode.

Differential Revision: https://phabricator.services.mozilla.com/D227555
2024-12-06 18:10:08 +00:00
Norisz Fay
5772a55552 Backed out changeset a498f80a4000 (bug 1926360) for causing bc failures on browser_unified_extensions_vertical_tabs.js 2024-12-06 18:49:33 +02:00
Norisz Fay
a5c008ec4d Backed out changeset 41beb5fac9ba (bug 1932478) for causing bc failures on browser_1042100_default_placements_update.js, browser_HomePage_add_button.js 2024-12-06 18:36:16 +02:00
Nikki Sharpley
d7137be793 Bug 1932478 - create a new draggable space directly to the left of the URL bar when in vertical tabs mode r=sidebar-reviewers,desktop-theme-reviewers,tabbrowser-reviewers,dao,Gijs
- and remove space next to hamburger menu

Differential Revision: https://phabricator.services.mozilla.com/D230988
2024-12-06 15:35:13 +00:00
Nikki Sharpley
f7f1d178c2 Bug 1926360 - Save customized fxview, list all tabs button and other tab strip widget locations in nav bar when vertical tabs enabled r=sidebar-reviewers,sclements,mconley
We want the nav-bar customizations to be the same across vertical and horizontal tabs mode, minus the Fxview, "list all tabs" buttons, and any other tab strip widgets moved to the nav-bar.
- If the Fxview and "list all tabs" buttons and tab-strip widgets are removed in the nav-bar in vertical mode, they are removed from the tab-strip when switching back to horizontal mode.
- If the Fxview and "list all tabs" buttons and tab-strip widgets are moved in the nav-bar in vertical mode, this should be remembered for vertical mode. Their positions in horizontal mode should remain as they were in horizontal mode.

Differential Revision: https://phabricator.services.mozilla.com/D227555
2024-12-06 15:15:39 +00:00
Tom Schuster
00c657d84c Bug 1934875 - Remove inline event handler from unified extension panel. r=willdurand
Differential Revision: https://phabricator.services.mozilla.com/D230928
2024-12-06 13:45:33 +00:00
Tom Schuster
2f100cb460 Bug 1927155 - Remove inline event handlers from customize popups/panels. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D226919
2024-12-06 11:04:40 +00:00
Sandor Molnar
0bf6cbf1f9 Backed out changeset f04379a895c4 (bug 1926360) for causing bc failures @ browser_verticalTabs_widget_placements.js CLOSED TREE 2024-12-06 01:11:36 +02:00
Nikki Sharpley
e661c25029 Bug 1926360 - Save customized fxview, list all tabs button and other tab strip widget locations in nav bar when vertical tabs enabled r=sidebar-reviewers,sclements,mconley
We want the nav-bar customizations to be the same across vertical and horizontal tabs mode, minus the Fxview, "list all tabs" buttons, and any other tab strip widgets moved to the nav-bar.
- If the Fxview and "list all tabs" buttons and tab-strip widgets are removed in the nav-bar in vertical mode, they are removed from the tab-strip when switching back to horizontal mode.
- If the Fxview and "list all tabs" buttons and tab-strip widgets are moved in the nav-bar in vertical mode, this should be remembered for vertical mode. Their positions in horizontal mode should remain as they were in horizontal mode.

Differential Revision: https://phabricator.services.mozilla.com/D227555
2024-12-05 22:07:47 +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
Kelly Cochrane
530aef4ee6 Bug 1926979 - Hide the 'pre-tabs' .titlebar-spacer and decrease window minimum width when vertical tabs are enabled r=desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D229689
2024-11-27 14:04:01 +00:00
Simon Friedberger
997eea8abc Bug 1932640. Remove History:UndoCloseTab event handler. r=mossop,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229920
2024-11-27 11:07:19 +00:00
Stephen Thompson
a30c609e89 Bug 1933623 - testRecentlyClosedTabGroupsSingleTab consistency r=dao
This patch matches the tab title listed on the menu item in the "recently closed tabs" menu with the tab title of the restored tab.

This test was arbitrarily restoring the first listed tab in a menu, but the expectation was that it would load a specific tab. This failed nondeterministically. This patch should always work regardless of how many or which tabs are contained in the tab group.

Differential Revision: https://phabricator.services.mozilla.com/D230346
2024-11-27 09:52:48 +00:00
Goloman Adrian
927e436067 Backed out changeset 7c24aef7cb4a (bug 1926979) for causing bc failures @browser_vertical_tab.js. TREE CLOSED 2024-11-27 07:24:02 +02:00
Kelly Cochrane
6a8e69d8ff Bug 1926979 - Hide the 'pre-tabs' .titlebar-spacer and decrease window minimum width when vertical tabs are enabled r=desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D229689
2024-11-26 17:14:49 +00:00
Butkovits Atila
cce1ec2c4f Backed out changeset 4b65f5631ed1 (bug 1932640) for causing failures complaining about tabCount. 2024-11-26 18:17:47 +02:00
Simon Friedberger
5b85f70e4a Bug 1932640. Remove History:UndoCloseTab event handler. r=mossop,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229920
2024-11-26 13:32:49 +00:00
Jeremy Swinarton
fc4e710b51 Bug 1927774: Add closed tab groups to history menus r=dao,fluent-reviewers,sessionstore-reviewers,desktop-theme-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228843
2024-11-25 20:04:15 +00:00
Alexandru Marc
1a4e95404b Backed out changeset 468cfeb51f7b (bug 1926979) for causing bc failures @ browser_914138_widget_API_overflowable_toolbar.js 2024-11-25 18:30:21 +02:00
Kelly Cochrane
4156c0a38d Bug 1926979 - Hide the 'pre-tabs' .titlebar-spacer and decrease window minimum width when vertical tabs are enabled r=desktop-theme-reviewers,tabbrowser-reviewers,sidebar-reviewers,dao,sclements
Differential Revision: https://phabricator.services.mozilla.com/D229689
2024-11-25 14:26:27 +00:00