Commit Graph

342 Commits

Author SHA1 Message Date
Dão Gottwald
6a25e2974a Bug 1933279 - Remove tabs from multiselection once added to tab group. r=dwalker,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230222
2024-11-27 02:08:55 +00:00
Goloman Adrian
e78993327b Backed out changeset 724d695dff88 (bug 1933152) for causing bc failures @browser_ext_themes_tab_text.js. CLOSED TREE 2024-11-27 01:18:55 +02:00
Dão Gottwald
fc3281afef Bug 1933152 - Fix selected tab's group line color when the selected tab has a different color scheme than the tabs toolbar. r=tabbrowser-reviewers,sthompson
Differential Revision: https://phabricator.services.mozilla.com/D230083
2024-11-26 20:54:49 +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
Alexandru Marc
89b15045ed Backed out changeset 90929265e20e (bug 1933119) for causing bc failures @ browser_keyword.js 2024-11-26 21:56:46 +02:00
Dão Gottwald
8f56f70b33 Bug 1933258 - Add pref for when to move other tabs out of the way during drag and drop. r=sthompson,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230142
2024-11-26 16:20:26 +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
Emilio Cobos Álvarez
444f65b693 Bug 1933119 - Remove no-op focus() calls. r=tabbrowser-reviewers,dao
Since bug 1823984, this focus() call has been a no-op on remote frames.

The previous patch also fixes the non-remote frame focus switch.

Differential Revision: https://phabricator.services.mozilla.com/D230098
2024-11-26 14:10:55 +00: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
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
Stephen Thompson
bb28e6575a Bug 1932943 - Add border to tab group icon r=dao,sessionstore-reviewers
Add a 1 pixel stroke to the tab group icon SVG so that it can be styled as a border using CSS. Using border style properties for CSS does not work in all contexts; specifically, macOS native menus do not seem to allow border rules but do allow SVG rendering.

Differential Revision: https://phabricator.services.mozilla.com/D230070
2024-11-25 21:10:22 +00:00
jabram
ad7b1e649c Bug 1451132 - Provide option to close current tab on quit r=fluent-reviewers,reusable-components-reviewers,mconley,settings-reviewers,mossop,accessibility-frontend-reviewers,mstriemer,ayeddi
Differential Revision: https://phabricator.services.mozilla.com/D223374
2024-11-25 21:03:45 +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
Sebastian Hengst
4d78eba78c Bug 1922355 - adjust mochitest expectations for macOS 14.70 x86-64. r=jmaher,tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229944
2024-11-25 16:28:39 +00:00
Stephen Thompson
19712400f0 Bug 1932670: Add restore tab group API to session r=dao,sessionstore-reviewers,tabbrowser-reviewers
Adds `restoreTabGroup` to SessionStore, enabling a closed tab group or saved tab group to come back into the tab strip.

Includes more robust functionality for forgetting a saved tab group or closed tab group.

Differential Revision: https://phabricator.services.mozilla.com/D230011
2024-11-25 02:44:50 +00:00
DJ
7da91bc6c5 Bug 1923652 - enable save & close for tab groups. r=dao,sessionstore-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D229721
2024-11-22 16:46:19 +00:00
Dão Gottwald
dceb0661a7 Bug 1932425 - When dragging tabs, move other tabs over when hitting 70% instead of 50% of their width. r=sthompson,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D229756
2024-11-22 10:14:51 +00:00
Adi
ba7e26bf67 Backed out changeset 44fc1ca324c1 (bug 1932425) for causing bc failures @browser_multiselect_tabs_reorder.js. 2024-11-21 21:23:36 +02:00
Dão Gottwald
7cf50a4d97 Bug 1932425 - When dragging tabs, move other tabs over when hitting 70% instead of 50% of their width. r=sthompson,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D229756
2024-11-21 16:52:27 +00:00
Greg Stoll
c799da9b92 Bug 1927609 - correctly set process priority when rapidly switching tabs r=tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D229696
2024-11-21 12:34:15 +00:00
Dão Gottwald
304c11a239 Bug 1923653 - tab group UI: enable "delete group". r=tabbrowser-reviewers,sthompson
Differential Revision: https://phabricator.services.mozilla.com/D229507
2024-11-21 11:56:31 +00:00
Cosmin Sabou
48f9c79723 Backed out changeset ffc3435411be (bug 1923653) for causing mass test failures. 2024-11-20 20:32:20 +02:00
Dão Gottwald
05669b79ee Bug 1923653 - tab group UI: enable "delete group". r=tabbrowser-reviewers,sthompson
Differential Revision: https://phabricator.services.mozilla.com/D229507
2024-11-20 16:51:30 +00:00
Dave Townsend
b3cc842b7b Bug 1931412: Don't hold test windows alive for cleanup. r=Standard8
browser_scroll_size_determination.js is occasionally leaking browser windows. My theory is that this
is happening because `BrowserTestUtils.overflowTabs` keeps them alive in order to reset the
scrollbox attribute that it changed and then there is not enough time after cleanup for the windows
to get fully collected. Given that these windows are closed anyway there is no need to actually do
this cleanup step so this allows us to skip it.

Differential Revision: https://phabricator.services.mozilla.com/D229587
2024-11-20 15:12:16 +00:00
Nikki Sharpley
c52bf125ff Bug 1926831 - Remove animation of tab when dropped in blank tab space r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D228722
2024-11-20 14:34:36 +00:00
Narcis Beleuzu
a680adff4f Backed out changeset 31fba99f4d2d (bug 1926831) for lint failure on tabs.js . CLOSED TREE 2024-11-20 01:17:04 +02:00
Nikki Sharpley
9719411374 Bug 1926831 - Remove animation of tab when dropped in blank tab space r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D228722
2024-11-19 22:09:07 +00:00
Stephen Thompson
35bab3b13c Bug 1927540 - drop tab into/out of end of tab groups r=dao,tabbrowser-reviewers
When all tabs are inside of tab groups, this patch allows the user to drag a tab to become a standalone tab at the end of the tab stirp. The user also has the ability to drop the tab into the end of the tab group at the end of the tab strip if the tab is dropped closer to the tab group.

Differential Revision: https://phabricator.services.mozilla.com/D229440
2024-11-19 20:26:31 +00:00
Stephen Thompson
841ffe9813 Bug 1921830 - move active tab left/right into/out of tab groups r=dao
Adds tab group contexts to the functionality behind keyboard shortcuts for moving the active tab left/right in the tab strip

Differential Revision: https://phabricator.services.mozilla.com/D227253
2024-11-19 19:40:21 +00:00
Sebastian Hengst
8424c52dc1 Bug 1922355 - macOS 14.70: adjust expectations for mochitests and xpcshell tests. r=jmaher,necko-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228118
2024-11-19 17:19:24 +00:00
Greg Stoll
5bad86a2d5 Bug 1926390 part 2 - add telemetry and tests for explicit tab unloading r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D229141
2024-11-18 15:02:41 +00:00
Greg Stoll
52e73a1f53 Bug 1926390 part 1 - more robust checking for unloaded tabs r=tabbrowser-reviewers,dao
These are some corner cases I noticed when testing some other stuff
interactively. I suspect we're hitting them now because we haven't
had the case where we're switching away from a now-unloaded tab before.

Differential Revision: https://phabricator.services.mozilla.com/D229140
2024-11-18 15:02:40 +00:00
Dão Gottwald
f537dbd899 Bug 1926382 - Shift group labels along with the group's first tab. r=sthompson,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D229122
2024-11-15 16:30:38 +00:00
Dão Gottwald
574d406c84 Bug 1931370 - Rename "Add tab to group" to "New tab in group". r=dwalker,fluent-reviewers,tabbrowser-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D229123
2024-11-15 14:38:52 +00:00
codesuki
95975f82f7 Bug 655445 - Add setting to control position of tabs opened from pinned tabs. r=dao,tabbrowser-reviewers
This patch introduces `browser.tabs.insertAfterCurrentExceptPinned`.
Setting it to `true` open links from pinned tabs at the end of the tabbar.

Differential Revision: https://phabricator.services.mozilla.com/D69489
2024-11-15 11:51:17 +00:00
Dão Gottwald
ddc5737e8c Bug 1928166 - Maintain tab order when ungrouping. r=sthompson,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228990
2024-11-14 19:52:58 +00:00
Florian Quèze
634ebeeac3 Bug 1930163 - Remove support for setting a legacy telemetry scalar when a notification bar is shown, r=mstriemer,tabbrowser-reviewers,reusable-components-reviewers,dao.
Differential Revision: https://phabricator.services.mozilla.com/D228453
2024-11-14 17:25:13 +00:00
Gijs Kruitbosch
a50c45946e Bug 1927094 - optimize lineScrollAmount so it doesn't iterate over all tabs, r=mconley,dao
Differential Revision: https://phabricator.services.mozilla.com/D226907
2024-11-14 17:14:50 +00:00
Dão Gottwald
f8d89fd012 Bug 1930654 - Convert _gBrowser to a modern JS class. r=tabbrowser-reviewers,jswinarton
Differential Revision: https://phabricator.services.mozilla.com/D228667
2024-11-14 16:33:19 +00:00
Alexandru Marc
898e7469f6 Backed out changeset 365a4dc7fe2d (bug 1930654) for causing bc failures @ browser_standalone_application_chooser_window_fallback.js . CLOSED TREE 2024-11-14 17:37:47 +02:00
Dão Gottwald
af03c5baa7 Bug 1930654 - Convert _gBrowser to a modern JS class. r=tabbrowser-reviewers,jswinarton
Differential Revision: https://phabricator.services.mozilla.com/D228667
2024-11-14 14:02:57 +00:00
Simon Friedberger
4fcd691190 Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 17:15:57 +00:00
Sandor Molnar
9e0c14a80e Backed out changeset c4dfee1f9194 (bug 1919544) for causing bc failures @ browser_UrlbarInput_formatValue.js CLOSED TREE 2024-11-13 15:20:39 +02:00
Simon Friedberger
8eafd874fe Bug 1919544 - Do not HTTPS-First upgrade URLs with http:// scheme r=mak,necko-reviewers,urlbar-reviewers,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D228588
2024-11-13 11:44:43 +00:00
Dão Gottwald
c40a1cb421 Bug 1929898 - Implement pause on drag and drop to create tab group. r=sthompson
Differential Revision: https://phabricator.services.mozilla.com/D228570
2024-11-12 16:54:20 +00:00
Jeremy Swinarton
8a3c3e1e4c Bug 1908422: Add closedGroups to SessionRestore for tab groups r=dao,sthompson,sessionstore-reviewers,tabbrowser-reviewers
This patch adds a `closedGroups` array to the SessionRestore state, and
adds functionality that ensures closed tab groups end up in the closed
groups array and that closed tab counts respect closed groups.

This does not update `undoClosedTab` or any related methods. Attempting
to restore a closed tab group will result in an error.

Differential Revision: https://phabricator.services.mozilla.com/D226397
2024-11-12 16:34:19 +00:00
Dão Gottwald
a4362055ee Bug 1930608 - Refactor _updateAfterMoveTabTo. r=jswinarton,tabbrowser-reviewers
Also simplify moveTabToStart and moveTabToEnd.

Differential Revision: https://phabricator.services.mozilla.com/D228646
2024-11-12 14:09:52 +00:00