Closed Bug 1398245 Opened 6 years ago Closed 6 years ago
Extensions] browser .extension .get Background Page(); Does not work from private window .
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:57.0) Gecko/20100101 Firefox/57.0 Build ID: 20170908100218 Steps to reproduce: Make a sidebar that has script that tries to communicate with a background script using: var bg = browser.extension.getBackgroundPage(); (to add more salt to injury, why isn't it chrome.extension.getBackgroundPage(); ??) Actual results: browser.extension.getBackgroundPage(); results "null" in private windows Expected results: In Chrome, Vivaldi and Opera there is a checkbox in extensions page that allows this to work in private windows. In Vivaldi and Chrome it's called: "enable in incognito" In Opera it's called: "Enable in private mode" Firefox lacks this possibility making many extensions unusable or impossible to convert from Chrome.
Component: Untriaged → WebExtensions: General
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.