Closed Bug 831540 Opened 13 years ago Closed 13 years ago

(private-browsing) create new 'exiting' and 'exited' events for per-window pb

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: evold, Unassigned)

References

Details

In the PWPB world there are 'exiting' and 'exited' events only, the latter is very important, the former we can probably do without to begin with.
Blocks: sdk-pwpb
Flags: needinfo?(rFobic)
OS: Mac OS X → All
Hardware: x86 → All
What exactly does this entail?
Flags: needinfo?(evold)
Hi Erik I asked this in pull request, but maybe it's better do discuss here. Could you explain what those events are and how do we expect users to use them ?
Flags: needinfo?(rFobic)
There are 'last-pb-context-exiting' and 'last-pb-context-exited' notifications emitted by the observer service https://developer.mozilla.org/en-US/docs/Supporting_per-window_private_browsing So for this bug we would just need to listen to those notifications and re-emit them. Also for the 'exiting' case a developer can prevent the last pb window from being closed, so we'd just have to make that a little easier to do.
Flags: needinfo?(evold)
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.