Closed Bug 1069669 Opened 10 years ago Closed 10 years ago

Add nsContentUtils::IsInPrivateBrowsing(nsIDocument*)

Categories

(Core :: DOM: Core & HTML, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35
Tracking Status
firefox37 --- fixed
firefox38 --- fixed
firefox39 --- fixed

People

(Reporter: cpearce, Assigned: cpearce)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

It would be handy to have a utility function to test if a document is in private browsing mode.
Attached patch PatchSplinter Review
Add nsContentUtils::IsInPrivateBrowsing(nsIDocument* aDoc).
Attachment #8491883 - Flags: review?(ehsan.akhgari)
Attachment #8491883 - Flags: review?(ehsan.akhgari) → review+
https://hg.mozilla.org/mozilla-central/rev/160e9c8a1fd7
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
Mass update firefox-status to track EME uplift.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: