Skip to content

Commit fe9daf9

Browse files
authored
Merge branch 'dev' into dev
2 parents cc525e3 + db3eea6 commit fe9daf9

17 files changed

+186
-234
lines changed

.github/workflows/issue-metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
echo "last_month_year=$previous_year" >> "$GITHUB_ENV"
4343
4444
- name: Run issue-metrics tool
45-
uses: github/issue-metrics@v2
45+
uses: github-community-projects/issue-metrics@v2
4646
env:
4747
GH_TOKEN: ${{ secrets.DEPLOY_KEY }}
4848
HIDE_AUTHOR: true

prefs/firefox/browser.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,7 @@
8686
- name: browser.tabs.splitView.enabled
8787
value: false
8888
locked: true
89+
90+
# See gh-12985 for details on the following preferences
91+
- name: browser.search.widget.new
92+
value: true

src/browser/components/tabbrowser/content/tab-js.patch

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/browser/components/tabbrowser/content/tab.js b/browser/components/tabbrowser/content/tab.js
2-
index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e0474669fc15c20 100644
2+
index e4266a159a0d5c42cc294602d00b8f66131f35d5..f3e362f062063ebe08bd26cc694f2d965ccffd84 100644
33
--- a/browser/components/tabbrowser/content/tab.js
44
+++ b/browser/components/tabbrowser/content/tab.js
55
@@ -21,6 +21,7 @@
@@ -52,7 +52,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
5252
return;
5353
}
5454

55-
@@ -225,11 +228,23 @@
55+
@@ -225,11 +228,25 @@
5656
}
5757

5858
get visible() {
@@ -74,14 +74,16 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
7474
+ }
7575
+ currentParent = currentParent.group;
7676
+ }
77-
+ if (this.pinned && !this.hasAttribute("zen-essential") && gZenWorkspaces.activeWorkspaceElement?.hasCollapsedPinnedTabs) {
77+
+ if (this.pinned && !this.hasAttribute("zen-essential") &&
78+
+ gZenWorkspaces.activeWorkspaceElement?.hasCollapsedPinnedTabs &&
79+
+ !gZenWorkspaces.activeWorkspaceElement.collapsiblePins.activeTabs?.includes(this)) {
7880
+ return false;
7981
+ }
8082
+ return true;
8183
}
8284

8385
get hidden() {
84-
@@ -308,7 +323,7 @@
86+
@@ -308,7 +325,7 @@
8587
return false;
8688
}
8789

@@ -90,7 +92,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
9092
}
9193

9294
get lastAccessed() {
93-
@@ -393,7 +408,18 @@
95+
@@ -393,7 +410,18 @@
9496
}
9597

9698
get group() {
@@ -110,7 +112,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
110112
}
111113

112114
get splitview() {
113-
@@ -475,6 +501,10 @@
115+
@@ -475,6 +503,10 @@
114116
}
115117
}
116118

@@ -121,15 +123,15 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
121123
// If the previous target wasn't part of this tab then this is a mouseenter event.
122124
if (!this.contains(event.relatedTarget)) {
123125
this._mouseenter();
124-
@@ -504,6 +534,7 @@
126+
@@ -504,6 +536,7 @@
125127
if (!this.contains(event.relatedTarget)) {
126128
this._mouseleave();
127129
}
128130
+ gZenPinnedTabManager.onResetPinButtonMouseOut(this);
129131
}
130132

131133
on_dragstart(event) {
132-
@@ -538,6 +569,8 @@
134+
@@ -538,6 +571,8 @@
133135
this.style.MozUserFocus = "ignore";
134136
} else if (
135137
event.target.classList.contains("tab-close-button") ||
@@ -138,7 +140,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
138140
event.target.classList.contains("tab-icon-overlay") ||
139141
event.target.classList.contains("tab-audio-button")
140142
) {
141-
@@ -592,16 +625,21 @@
143+
@@ -592,16 +627,21 @@
142144
this.style.MozUserFocus = "";
143145
}
144146

@@ -161,7 +163,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
161163
gBrowser.multiSelectedTabsCount > 0 &&
162164
!event.target.classList.contains("tab-close-button") &&
163165
!event.target.classList.contains("tab-icon-overlay") &&
164-
@@ -613,8 +651,9 @@
166+
@@ -613,8 +653,9 @@
165167
}
166168

167169
if (
@@ -173,7 +175,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
173175
) {
174176
if (this.activeMediaBlocked) {
175177
if (this.multiselected) {
176-
@@ -632,7 +671,7 @@
178+
@@ -632,7 +673,7 @@
177179
return;
178180
}
179181

@@ -182,7 +184,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
182184
if (this.multiselected) {
183185
gBrowser.removeMultiSelectedTabs(
184186
lazy.TabMetrics.userTriggeredContext(
185-
@@ -652,6 +691,14 @@
187+
@@ -652,6 +693,14 @@
186188
// (see tabbrowser-tabs 'click' handler).
187189
gBrowser.tabContainer._blockDblClick = true;
188190
}
@@ -197,7 +199,7 @@ index e4266a159a0d5c42cc294602d00b8f66131f35d5..88c321f05dabd948d06e155f6e047466
197199
}
198200

199201
on_dblclick(event) {
200-
@@ -675,6 +722,8 @@
202+
@@ -675,6 +724,8 @@
201203
animate: true,
202204
triggeringEvent: event,
203205
});

src/browser/components/tabbrowser/content/tabgroup-js.patch

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/browser/components/tabbrowser/content/tabgroup.js b/browser/components/tabbrowser/content/tabgroup.js
2-
index 3ca119e8dc72fac652c98505211864483d98add2..026b524be51170882e788a701095b938d6923f3e 100644
2+
index 3ca119e8dc72fac652c98505211864483d98add2..b65307ee8df896488a4c51e3a25bf9ad9e1c8179 100644
33
--- a/browser/components/tabbrowser/content/tabgroup.js
44
+++ b/browser/components/tabbrowser/content/tabgroup.js
55
@@ -14,11 +14,11 @@
@@ -101,7 +101,13 @@ index 3ca119e8dc72fac652c98505211864483d98add2..026b524be51170882e788a701095b938
101101

102102
resetDefaultGroupName = () => {
103103
this.#defaultGroupName = "";
104-
@@ -178,7 +201,9 @@
104+
@@ -175,10 +198,15 @@
105+
if (!this.#tabChangeObserver) {
106+
this.#tabChangeObserver = new window.MutationObserver(mutations => {
107+
if (!this.tabs.length) {
108+
+ if (this.tagName === "zen-workspace-collapsible-pins") {
109+
+ return;
110+
+ }
105111
this.dispatchEvent(
106112
new CustomEvent("TabGroupRemoved", { bubbles: true })
107113
);
@@ -111,7 +117,7 @@ index 3ca119e8dc72fac652c98505211864483d98add2..026b524be51170882e788a701095b938
111117
Services.obs.notifyObservers(
112118
this,
113119
"browser-tabgroup-removed-from-dom"
114-
@@ -223,7 +248,10 @@
120+
@@ -223,7 +251,10 @@
115121
}
116122
});
117123
}
@@ -123,7 +129,7 @@ index 3ca119e8dc72fac652c98505211864483d98add2..026b524be51170882e788a701095b938
123129
}
124130

125131
get color() {
126-
@@ -317,6 +345,9 @@
132+
@@ -317,6 +348,9 @@
127133
}
128134

129135
set collapsed(val) {
@@ -133,15 +139,15 @@ index 3ca119e8dc72fac652c98505211864483d98add2..026b524be51170882e788a701095b938
133139
if (!!val == this.collapsed) {
134140
return;
135141
}
136-
@@ -403,7 +434,6 @@
142+
@@ -403,7 +437,6 @@
137143
tabGroupName,
138144
})
139145
.then(result => {
140146
- this.dataset.tooltip = result;
141147
});
142148
}
143149

144-
@@ -478,13 +508,65 @@
150+
@@ -478,13 +511,65 @@
145151
* @returns {MozTabbrowserTab[]}
146152
*/
147153
get tabs() {
@@ -212,15 +218,15 @@ index 3ca119e8dc72fac652c98505211864483d98add2..026b524be51170882e788a701095b938
212218
}
213219

214220
/**
215-
@@ -592,7 +674,6 @@
221+
@@ -592,7 +677,6 @@
216222
);
217223
} else {
218224
if (tabOrSplitView.pinned) {
219225
- tabOrSplitView.ownerGlobal.gBrowser.unpinTab(tabOrSplitView);
220226
}
221227
let tabToMove =
222228
this.ownerGlobal === tabOrSplitView.ownerGlobal
223-
@@ -661,7 +742,7 @@
229+
@@ -661,7 +745,7 @@
224230
*/
225231
on_click(event) {
226232
let isToggleElement =
@@ -229,7 +235,7 @@ index 3ca119e8dc72fac652c98505211864483d98add2..026b524be51170882e788a701095b938
229235
event.target === this.#overflowCountLabel;
230236
if (isToggleElement && event.button === 0) {
231237
event.preventDefault();
232-
@@ -740,5 +821,6 @@
238+
@@ -740,5 +824,6 @@
233239
}
234240
}
235241

src/external-patches/firefox/fix_macos_crash_on_shutdown_firefox_149.patch

Lines changed: 0 additions & 177 deletions
This file was deleted.

0 commit comments

Comments
 (0)