mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
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:
parent
96aca3d0d0
commit
5fd39ec8e5
@ -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
|
||||
|
@ -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);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user