Backed out changeset 68d101b370d8 (bug 1938430) for permafailures on browser_tab_manager_groups.js (Bug 1938697).
This commit is contained in:
@@ -110,8 +110,6 @@
|
||||
PictureInPicture: "resource://gre/modules/PictureInPicture.sys.mjs",
|
||||
SmartTabGroupingManager:
|
||||
"moz-src:///browser/components/tabbrowser/SmartTabGrouping.sys.mjs",
|
||||
TabGroupMetrics:
|
||||
"moz-src:///browser/components/tabbrowser/TabGroupMetrics.sys.mjs",
|
||||
UrlbarProviderOpenTabs:
|
||||
"resource:///modules/UrlbarProviderOpenTabs.sys.mjs",
|
||||
});
|
||||
@@ -2967,9 +2965,7 @@
|
||||
* switches windows).
|
||||
* Causes the group create UI to be displayed and telemetry events to be fired.
|
||||
* @param {string} [options.telemetryUserCreateSource]
|
||||
* The means by which the tab group was created.
|
||||
* @see TabGroupMetrics.METRIC_SOURCE for possible values.
|
||||
* Defaults to "unknown".
|
||||
* The means by which the tab group was created. Defaults to "unknown".
|
||||
*/
|
||||
addTabGroup(
|
||||
tabs,
|
||||
@@ -3028,23 +3024,8 @@
|
||||
* The tab group to remove.
|
||||
* @param {object} [options]
|
||||
* Options to use when removing tabs. @see removeTabs for more info.
|
||||
* @param {boolean} [options.isUserTriggered=false]
|
||||
* Should be true if this group is being removed by an explicit
|
||||
* request from the user (as opposed to a group being removed
|
||||
* for technical reasons, such as when an already existing group
|
||||
* switches windows). This causes telemetry events to fire.
|
||||
* @param {string} [options.telemetrySource="unknown"]
|
||||
* The means by which the tab group was removed.
|
||||
* @see TabGroupMetrics.METRIC_SOURCE for possible values.
|
||||
* Defaults to "unknown".
|
||||
*/
|
||||
async removeTabGroup(
|
||||
group,
|
||||
options = {
|
||||
isUserTriggered: false,
|
||||
telemetrySource: this.TabGroupMetrics.METRIC_SOURCE.UNKNOWN,
|
||||
}
|
||||
) {
|
||||
async removeTabGroup(group, options = {}) {
|
||||
if (this.tabGroupMenu.panel.state != "closed") {
|
||||
this.tabGroupMenu.panel.hidePopup(options.animate);
|
||||
}
|
||||
@@ -3078,8 +3059,6 @@
|
||||
bubbles: true,
|
||||
detail: {
|
||||
skipSessionStore: options.skipSessionStore,
|
||||
isUserTriggered: options.isUserTriggered,
|
||||
telemetrySource: options.telemetrySource,
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user