mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
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:
parent
0ace7363ad
commit
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user