зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1559835 - Remove comment at tabs.update(active:false) r=rpl
Differential Revision: https://phabricator.services.mozilla.com/D48817 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
0ace7363ad
Коммит
07c1fc6c27
|
@ -827,12 +827,8 @@ this.tabs = class extends ExtensionAPI {
|
|||
nativeTab.linkedBrowser.loadURI(url, options);
|
||||
}
|
||||
|
||||
if (updateProperties.active !== null) {
|
||||
if (updateProperties.active) {
|
||||
tabbrowser.selectedTab = nativeTab;
|
||||
} else {
|
||||
// Not sure what to do here? Which tab should we select?
|
||||
}
|
||||
if (updateProperties.active) {
|
||||
tabbrowser.selectedTab = nativeTab;
|
||||
}
|
||||
if (updateProperties.highlighted !== null) {
|
||||
if (!gMultiSelectEnabled) {
|
||||
|
|
|
@ -411,12 +411,8 @@ this.tabs = class extends ExtensionAPI {
|
|||
nativeTab.browser.loadURI(url, options);
|
||||
}
|
||||
|
||||
if (updateProperties.active !== null) {
|
||||
if (updateProperties.active) {
|
||||
BrowserApp.selectTab(nativeTab);
|
||||
} else {
|
||||
// Not sure what to do here? Which tab should we select?
|
||||
}
|
||||
if (updateProperties.active) {
|
||||
BrowserApp.selectTab(nativeTab);
|
||||
}
|
||||
// FIXME: highlighted/selected, muted, pinned, openerTabId, successorTabId
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче