I’m using Firefox Developer Edition 130.0b5 (64-bit) and don’t understand why the following code makes the newly created window have focus:
if (logToConsole) console.log(`Make new tab or window active: ${contextsearch_makeNewTabOrWindowActive}`);
await browser.windows.create({
titlePreface: windowTitle + "'" + selection + "'",
focused: contextsearch_makeNewTabOrWindowActive,
url: url,
incognito: contextsearch_privateMode
});
The console log returns false.