Commit Graph

3519 Commits

Author SHA1 Message Date
Sandor Molnar
594e700d37 Backed out changeset ceeaeae381df (bug 1933114) for causing bc failures @ browser_tab_groups_restore_closed_in_closed_window.js CLOSED TREE 2024-12-05 20:22:04 +02:00
Stephen Thompson
e70b247934 Bug 1933114 - tests and fixes for tab group restoration r=dao,sessionstore-reviewers,tabbrowser-reviewers
Also addresses bug 1933574 by changing the schema of saved tab groups so that they look the same as closed tab groups (that is, the saved tab groups' tabs list now has the same schema as the _closedTabs list).

Differential Revision: https://phabricator.services.mozilla.com/D230322
2024-12-05 15:55:10 +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
Henrik Skupin
b3b89d930f Bug 1932916 - [remote] Don't retry to run a command when the browsing context was discarded. r=webdriver-reviewers,sessionstore-reviewers,jdescottes,sclements
Differential Revision: https://phabricator.services.mozilla.com/D230662
2024-12-02 14:59:51 +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
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
Logan Rosen
d24c9d9ff4 Bug 1857834 - auto-formatting with Prettier v3 r=linter-reviewers,webdriver-reviewers,perftest-reviewers,search-reviewers,devtools-reviewers,sync-reviewers,reusable-components-reviewers,profiler-reviewers,dom-storage-reviewers,android-reviewers,firefox-ai-ml-reviewers,hjones,mcheang,mstange,sparky,janv,nchevobbe,tarek,Standard8,markh
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D230598
2024-11-29 15:18:25 +00:00
Jeremy Swinarton
b9c19e288b Bug 1933744: Make undo close tab group API consistent with undoing closed tabs and windows r=dao,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230409
2024-11-28 20:56:09 +00:00
Jeremy Swinarton
8e4b23af31 Bug 1933483: Reopen deleted tab group from history context menus r=dao,sessionstore-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D230294
2024-11-27 20:34:05 +00:00
Jonathan Sudiaman
b5e2a6a660 Bug 1892953 - Add ability to resize the sidebar with responsive layout r=sidebar-reviewers,desktop-theme-reviewers,sessionstore-reviewers,reusable-components-reviewers,sclements,kcochrane,mstriemer
- Add a splitter that can be used to resize the launcher by dragging.
- Add "snapping points" to allow dragging to expand or collapse the launcher.
- Total sidebar width (launcher + panel) cannot exceed 75vw.
- Styling updates to show ellipses if labels are cut off due to resizing.

Differential Revision: https://phabricator.services.mozilla.com/D228705
2024-11-26 19:49:05 +00:00
Goloman Adrian
19185332a9 Backed out changeset b9974670bc5c (bug 1892953) for causing bc failures @browser_vertical_tab.js. CLOSED TREE 2024-11-27 06:48:08 +02:00
Jonathan Sudiaman
1ad52ddf70 Bug 1892953 - Add ability to resize the sidebar with responsive layout r=sidebar-reviewers,desktop-theme-reviewers,sessionstore-reviewers,reusable-components-reviewers,sclements,kcochrane,mstriemer
- Add a splitter that can be used to resize the launcher by dragging.
- Add "snapping points" to allow dragging to expand or collapse the launcher.
- Total sidebar width (launcher + panel) cannot exceed 75vw.
- Styling updates to show ellipses if labels are cut off due to resizing.

Differential Revision: https://phabricator.services.mozilla.com/D228705
2024-11-26 19:49:05 +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
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
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
Stanca Serban
054cfea9cb Backed out changeset 25d954644545 (bug 1892953) for causing mochitests failures in browser_sidebar_move.js. CLOSED TREE 2024-11-19 23:52:07 +02:00
Jonathan Sudiaman
fe8b4cf59b Bug 1892953 - Add ability to resize the sidebar with responsive layout r=sidebar-reviewers,desktop-theme-reviewers,sessionstore-reviewers,reusable-components-reviewers,sclements,kcochrane,mstriemer
- Add a splitter that can be used to resize the launcher by dragging.
- Add "snapping points" to allow dragging to expand or collapse the launcher.
- Total sidebar width (launcher + panel) cannot exceed 75vw.
- Styling updates to show ellipses if labels are cut off due to resizing.

Differential Revision: https://phabricator.services.mozilla.com/D228705
2024-11-19 19:47:14 +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
Simon Friedberger
512a91cab5 Bug 1931330 - Special case for PBM detection when no window is open r=sessionstore-reviewers,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D229348
2024-11-19 07:39:33 +00:00
Tim Huang
1399f0a3ad Bug 1922193 - Enforce isPartitioned flag for partitioned session cookie when restoring session cookies. r=sfoster,sessionstore-reviewers
The session cookies in the session store file didn't have the
isPartitioned flag. The patch enforces the isPartitioned flag for the
partitioned session cookies in order to properly set the flag when
restoring.

Differential Revision: https://phabricator.services.mozilla.com/D228815
2024-11-15 11:05:27 +00:00
Tim Huang
1f33b46eda Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-15 11:05:25 +00:00
Norisz Fay
c379b8f9cb Backed out 6 changesets (bug 1923663, bug 1922193) for causing bc failures on browser_cookies_legacy.js CLOSED TREE
Backed out changeset e2c5151ea497 (bug 1922193)
Backed out changeset eb53ce8d9fd7 (bug 1923663)
Backed out changeset 8a47156d3dfa (bug 1923663)
Backed out changeset 817a9db0594b (bug 1922193)
Backed out changeset 7a03590458f2 (bug 1922193)
Backed out changeset abfae75af05f (bug 1922193)
2024-11-15 12:11:13 +02:00
Tim Huang
ca9f8d6308 Bug 1922193 - Enforce isPartitioned flag for partitioned session cookie when restoring session cookies. r=sfoster,sessionstore-reviewers
The session cookies in the session store file didn't have the
isPartitioned flag. The patch enforces the isPartitioned flag for the
partitioned session cookies in order to properly set the flag when
restoring.

Differential Revision: https://phabricator.services.mozilla.com/D228815
2024-11-15 08:41:28 +00:00
Tim Huang
ab8a90ef08 Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-15 08:41:26 +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
Butkovits Atila
85eb562171 Backed out changeset 307c830b0d2b (bug 1908422) for causing failures at browser_tab_groups.js. CLOSED TREE 2024-11-08 21:50:37 +02:00
Jeremy Swinarton
f5892027d4 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-08 17:29:38 +00:00
Alexandru Marc
f7c8138cf9 Backed out changeset 9e5edf53c876 (bug 1908422) for causing bc failures @ browser_tab_groups_a11y.js 2024-11-08 16:57:36 +02:00
Jeremy Swinarton
62d713d116 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-08 13:53:19 +00:00
Alexandru Marc
bd755bf3a4 Backed out 5 changesets (bug 1923663, bug 1922193) for causing cookie parsing crashes.
Backed out changeset f70a3f184cef (bug 1923663)
Backed out changeset a7114c76e107 (bug 1923663)
Backed out changeset 01c2f8a4572f (bug 1922193)
Backed out changeset 6ca20b512745 (bug 1922193)
Backed out changeset fb747408813c (bug 1922193)
2024-11-08 11:43:06 +02:00
Tim Huang
809c04be77 Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-07 18:53:08 +00:00
Stanca Serban
ae414c4706 Backed out 5 changesets (bug 1923663, bug 1922193) for causing build bustages in CookiePersistentStorage.cpp. CLOSED TREE
Backed out changeset e412f867e774 (bug 1923663)
Backed out changeset 6e00139cb45c (bug 1923663)
Backed out changeset b160e175b74e (bug 1922193)
Backed out changeset 6f22034706d4 (bug 1922193)
Backed out changeset 72c01388440a (bug 1922193)
2024-11-07 17:43:57 +02:00
Tim Huang
699790492d Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster,webdriver-reviewers,Sasha,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-07 14:05:39 +00:00
Sam Foster
a712bf3840 Bug 1921836 - Consolidate the restoreSidebar implementations, and ensure the sidebar launcher gets un-hidden when a sidebar is shown. r=sidebar-reviewers,sessionstore-reviewers,jsudiaman,sclements
Differential Revision: https://phabricator.services.mozilla.com/D227420
2024-11-05 23:34:25 +00:00
Sandor Molnar
98bf811143 Backed out 5 changesets (bug 1923663, bug 1922193) for causing crashes @ mozilla::net::CookieStorage::AddCookie
Backed out changeset d43f5d0fcadf (bug 1923663)
Backed out changeset 39226f4da7cf (bug 1923663)
Backed out changeset 4d455d19f7fb (bug 1922193)
Backed out changeset eb6b645090c2 (bug 1922193)
Backed out changeset 636bc2b1c45b (bug 1922193)
2024-11-05 21:49:45 +02:00
Tim Huang
fe279ec9c3 Bug 1922193 - Drop first-party partitioned cookies that don't have CHIPS. r=valentin,cookie-reviewers,edgul,extension-reviewers,sessionstore-reviewers,willdurand,sfoster
Differential Revision: https://phabricator.services.mozilla.com/D226125
2024-11-05 18:50:34 +00:00
Florian Quèze
72e00a824e Bug 1927093 - Migrate scalars to use Glean APIs for browser.engagement.* (excluding browser.engagement.navigation.*), r=chutten,sessionstore-reviewers,tabbrowser-reviewers,places-reviewers,sfoster.
Differential Revision: https://phabricator.services.mozilla.com/D226371
2024-11-05 13:22:58 +00:00
Stanca Serban
7bb12fdb44 Backed out changeset 1768e3e28918 (bug 1921836) for causing mochitests failures in browser_toolbar_sidebar_button.js. 2024-11-04 23:37:28 +02:00
Sam Foster
149a4a2aa9 Bug 1921836 - Consolidate the restoreSidebar implementations, and ensure the sidebar launcher gets un-hidden when a sidebar is shown. r=sidebar-reviewers,sessionstore-reviewers,jsudiaman,sclements
Differential Revision: https://phabricator.services.mozilla.com/D227420
2024-11-04 18:54:59 +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