Bug 1962592 - Reduce tab moves in adoptTabGroup r=tabbrowser-reviewers,dao
Differential Revision: https://phabricator.services.mozilla.com/D246702
This commit is contained in:
@@ -3155,6 +3155,7 @@
|
||||
let newTabs = [];
|
||||
for (let tab of group.tabs) {
|
||||
newTabs.push(this.adoptTab(tab, { elementIndex }));
|
||||
++elementIndex;
|
||||
}
|
||||
|
||||
return this.addTabGroup(newTabs, {
|
||||
|
||||
Reference in New Issue
Block a user