Closed Bug 1872725 Opened 1 year ago Closed 1 year ago

Extensions unable to create incognito windows

Categories

(Fenix :: WebExtensions, enhancement)

Firefox 122
All
Android
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1817772

People

(Reporter: nate, Unassigned)

Details

Steps to reproduce:

Without the windows API being available in Firefox Android, you cannot open an incognito tab from a normal context, nor a normal context from an incognito tab. You can only open a tab in the same context.

Accessing the property browser.windows results in an error as the property is undefined.

Specifically I wish to create an extension that can reopen the current tab in a private window if currently in a normal context, or a normal window if currently in a private context. Without browser.windows there is no method that I can discern for creating a tab in a different context.

Actual results:

browser.windows is undefined

Expected results:

browser.windows is defined

This is tracked in Bug 1817772.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1817772
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.