Bug 1691480 - Remove remnants of isLastMultiSelectChange. r=Gijs

In bug 1580003 I missed two calls that still use isLastMultiSelectChange.
This parameter has no effect and can be removed.

Differential Revision: https://phabricator.services.mozilla.com/D104427
This commit is contained in:
Oriol Brufau 2021-02-09 19:08:45 +00:00
parent 96aca3d0d0
commit 5fd39ec8e5
2 changed files with 2 additions and 3 deletions

View File

@ -895,8 +895,7 @@ add_task(async function sendToDevice_title() {
// Add the other tab to the selection.
gBrowser.addToMultiSelectedTabs(
gBrowser.getTabForBrowser(otherBrowser),
{ isLastMultiSelectChange: true }
gBrowser.getTabForBrowser(otherBrowser)
);
// Open the panel again. Now the action's title should be "Send 2 Tabs to

View File

@ -50,7 +50,7 @@ add_task(async function withAMultiSelectedTab() {
is(gBrowser.multiSelectedTabsCount, 2, "Two multiselected tabs");
is(gBrowser.selectedTab, initialTab, "InitialTab is still the active tab");
gBrowser.clearMultiSelectedTabs({ isLastMultiSelectChange: false });
gBrowser.clearMultiSelectedTabs();
BrowserTestUtils.removeTab(tab1);
BrowserTestUtils.removeTab(tab4);
});