Closed Bug 1806020 Opened 2 years ago Closed 2 years ago

Create window without focus

Categories

(WebExtensions :: Untriaged, enhancement)

Firefox 108
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1253129

People

(Reporter: mprops, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

When I create a window using an extension, I do this:

browser.windows.create({tabId: tab.id, focused: false})

'focused' is documented. But it doesn't seem to do any effect.

The new window is always raised.

I think this is what makes it unable for me to create a window and immediately move some tabs to it, because the extension is terminated.

So I have 2 questions.

  1. What is focused supposed to do?
  2. What's a way to create a window and move tabs to it, like a multiple detach? (from an extension)

The Bugbug bot thinks this bug should belong to the 'WebExtensions::Untriaged' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Product: Firefox → WebExtensions
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1253129
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.