Closed Bug 722982 Opened 8 years ago Closed 7 years ago
Policy .js uses the global Private Browsing service to make decisions
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
Closed: 7 years ago
Resolution: --- → INVALID
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.