Closed
Bug 799314
Opened 12 years ago
Closed 12 years ago
Add utility method to PrivateBrowsingUtils to obtain nsILoadContext from window
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
FIXED
Firefox 19
People
(Reporter: jdm, Assigned: jdm)
References
Details
Attachments
(1 file)
1.30 KB,
patch
|
ehsan.akhgari
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
Writing up docs for the bug 722872 fiasco, I realized that it sucks to be telling developers how to obtain an nsILoadContext. We should add a GetPrivacyContext method to PrivateBrowsingUtils and get it into FF17.
Comment 1•12 years ago
|
||
Makes sense.
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Attachment #675169 -
Flags: review?(ehsan)
Updated•12 years ago
|
Attachment #675169 -
Flags: review?(ehsan) → review+
Comment 3•12 years ago
|
||
Comment on attachment 675169 [details] [diff] [review]
Add utility method to get a privacy context from a window.
This is as low-risk as it can get, and it would be really really helpful for add-on developers if we can take this for Firefox 17.
Attachment #675169 -
Flags: approval-mozilla-beta?
Attachment #675169 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Comment on attachment 675169 [details] [diff] [review]
Add utility method to get a privacy context from a window.
given the very low risk, i'll pre-approve this even though it's on inbound for now - please go ahead with uplift once it's been merged to central.
Attachment #675169 -
Flags: approval-mozilla-beta?
Attachment #675169 -
Flags: approval-mozilla-beta+
Attachment #675169 -
Flags: approval-mozilla-aurora?
Attachment #675169 -
Flags: approval-mozilla-aurora+
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fea03e42fb87
Should this have a test?
Assignee: nobody → josh
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Target Milestone: --- → Firefox 19
Comment 7•12 years ago
|
||
(In reply to Ryan VanderMeulen from comment #6)
> https://hg.mozilla.org/mozilla-central/rev/fea03e42fb87
>
> Should this have a test?
isWindowPrivate is tested in a bunch of places, so it does, implicitly.
Comment 8•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/a31f0cf46e61
https://hg.mozilla.org/releases/mozilla-beta/rev/8c3b288ab1be
status-firefox17:
--- → fixed
status-firefox18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•