Closed
Bug 826782
Opened 12 years ago
Closed 12 years ago
Need a notification for first-pb-context-entered
Categories
(Firefox :: Private Browsing, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: evold, Unassigned)
Details
Is there a notification of any kind when a private browsing context is entered? or when the first is entered? I didn't see one.
| Reporter | ||
Updated•12 years ago
|
Version: unspecified → 20 Branch
Comment 1•12 years ago
|
||
No, and we're not planning to add one. Why is that useful?
| Reporter | ||
Comment 2•12 years ago
|
||
For the SDK we'd like to not break the existing private-browsing module, which has start and stop notifications.
| Reporter | ||
Comment 3•12 years ago
|
||
I was going to have the start notification fire when a new window is opened in pb mode, and the stop fired when the last pb window is closed, but with privateHiddenWindows now I'm thinking it would be better to use the "last-pb-context-exited" notification for the stop, and to use a new start notification for the start.
Comment 4•12 years ago
|
||
(In reply to Erik Vold [:erikvold] [:ztatic] from comment #2)
> For the SDK we'd like to not break the existing private-browsing module,
> which has start and stop notifications.
I think that is the wrong thing to do. Do you have examples of what types of add-ons would just work seamlessly in per-window PB mode if you had a way to expose those notifications? I think the underlying concept change is large enough that it makes any sort of backwards compatibility in the API error prone or impossible.
| Reporter | ||
Updated•12 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•