chore: Update to Firefox 143.0, c=l10n, common (#10304)

This commit is contained in:
mr. m
2025-09-11 18:00:10 +02:00
committed by GitHub
parent 2241047976
commit 5933c55c13
137 changed files with 16357 additions and 1395 deletions

View File

@@ -1,5 +1,5 @@
diff --git a/browser/components/tabbrowser/content/tabgroup.js b/browser/components/tabbrowser/content/tabgroup.js
index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99bf10038d7 100644
index c0cb11590d6dfbcf6fa49ef5e10c6d3877191d1f..503e97a4ec87625b154627aa5839fb4f8d050f86 100644
--- a/browser/components/tabbrowser/content/tabgroup.js
+++ b/browser/components/tabbrowser/content/tabgroup.js
@@ -13,10 +13,12 @@
@@ -51,10 +51,10 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
this._initialized = true;
this.saveOnWindowClose = true;
@@ -97,11 +107,14 @@
this.#labelElement.container = gBrowser.tabContainer;
this.#labelElement.group = this;
@@ -99,11 +109,14 @@
this.#labelElement.addEventListener("mouseover", this);
this.#labelElement.addEventListener("mouseout", this);
- this.#labelElement.addEventListener("contextmenu", e => {
- e.preventDefault();
- gBrowser.tabGroupMenu.openEditModal(this);
@@ -71,7 +71,7 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
this.#updateLabelAriaAttributes();
this.#updateCollapsedAriaAttributes();
@@ -127,6 +140,8 @@
@@ -129,6 +142,8 @@
// mounts after getting created by `Tabbrowser.adoptTabGroup`.
this.#wasCreatedByAdoption = false;
}
@@ -80,7 +80,7 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
resetDefaultGroupName = () => {
this.#defaultGroupName = "";
@@ -197,7 +212,10 @@
@@ -213,7 +228,10 @@
}
});
}
@@ -92,7 +92,7 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
}
get color() {
@@ -285,6 +303,9 @@
@@ -307,6 +325,9 @@
}
set collapsed(val) {
@@ -102,7 +102,7 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
if (!!val == this.collapsed) {
return;
}
@@ -338,12 +359,61 @@
@@ -364,7 +385,6 @@
tabGroupName,
})
.then(result => {
@@ -110,6 +110,9 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
});
}
@@ -383,7 +403,57 @@
* @returns {MozTabbrowserTab[]}
*/
get tabs() {
- return Array.from(this.children).filter(node => node.matches("tab"));
+ // add other group tabs if they are under this group
@@ -166,7 +169,7 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
}
/**
@@ -374,7 +444,6 @@
@@ -442,7 +512,6 @@
addTabs(tabs, metricsContext) {
for (let tab of tabs) {
if (tab.pinned) {
@@ -174,7 +177,7 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
}
let tabToMove =
this.ownerGlobal === tab.ownerGlobal
@@ -437,7 +506,7 @@
@@ -505,7 +574,7 @@
*/
on_click(event) {
let isToggleElement =
@@ -183,7 +186,7 @@ index caea196b22b4689f55780a528661d87b52f4e728..725a2dfb10216df3e63d7980e2f1c99b
event.target === this.#overflowCountLabel;
if (isToggleElement && event.button === 0) {
event.preventDefault();
@@ -470,5 +539,6 @@
@@ -570,5 +639,6 @@
}
}