Bug 844183: Uplift Add-on SDK changeset 2bee189e1cb87f5fbe38ce862c8ff35ee0978480
bf2c2f609b...2bee189e1c
This commit is contained in:
@@ -102,10 +102,13 @@ function openTab(window, url, options) {
|
||||
return window.BrowserApp.addTab(url, {
|
||||
selected: options.inBackground ? false : true,
|
||||
pinned: options.isPinned || false,
|
||||
isPrivate: options.private || false
|
||||
isPrivate: options.isPrivate || false
|
||||
});
|
||||
}
|
||||
return window.gBrowser.addTab(url);
|
||||
let tab = window.gBrowser.addTab(url);
|
||||
if (!options.inBackground)
|
||||
activateTab(tab);
|
||||
return tab;
|
||||
};
|
||||
exports.openTab = openTab;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user