more descriptive _containerTabs method name

This commit is contained in:
groovecoder 2017-05-04 09:31:25 -05:00
parent f2ddc7fd84
commit 337dee2061

View file

@ -155,7 +155,7 @@ const Logic = {
}).catch((e) => {throw e;});
},
_containers(userContextId) {
_containerTabs(userContextId) {
return browser.tabs.query({
cookieStoreId: Logic.cookieStoreId(userContextId)
});
@ -180,7 +180,7 @@ const Logic = {
userContextId
});
const removeTabsPromise = Logic._containers(userContextId).then((tabs) => {
const removeTabsPromise = Logic._containerTabs(userContextId).then((tabs) => {
const tabIds = tabs.map((tab) => tab.id);
return browser.tabs.remove(tabIds);
});