The PB service is going away. It should probably rely on querying relevant docshells instead.
I only see that we use PB service for checking gPrivateBrowsing.privateBrowsingEnabled. What can we use to replace that with docshells?
The root chrome docshell (actually nsILoadContext) for any given tab contains a usingPrivateBrowsing attribute. We're also going to add a tabbrowser-based property that indicates whether the given tabbrowser contains any tabs in private mode; that might be a more appropriate flag to use. Anyways, there's not need to work on this yet until that dust settles.
File no longer exists \o/
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → INVALID
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.