Closed Bug 826782 Opened 12 years ago Closed 12 years ago

Need a notification for first-pb-context-entered

Categories

(Firefox :: Private Browsing, defect)

20 Branch
defect
Not set
normal

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.
Version: unspecified → 20 Branch
No, and we're not planning to add one. Why is that useful?
For the SDK we'd like to not break the existing private-browsing module, which has start and stop notifications.
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.
(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.
No longer blocks: sdk-pwpb, 777823
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.