Closed Bug 722982 Opened 13 years ago Closed 13 years ago

tabview/storagePolicy.js uses the global Private Browsing service to make decisions

Categories

(Firefox Graveyard :: Panorama, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jdm, Unassigned)

References

Details

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: 13 years ago
Resolution: --- → INVALID
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.