Private window shows notifications from the site in normal window

UNCONFIRMED
Unassigned

Status

()

defect
P3
normal
UNCONFIRMED
2 years ago
a year ago

People

(Reporter: kuroptev, Unassigned)

Tracking

(Blocks 1 bug)

Trunk
Points:
---

Firefox Tracking Flags

(firefox59 affected)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID: 20170413192749

Steps to reproduce:

I have had Telegram Web session in a pinned tab in normal (non private) Firefox window. Then I closed Firefox, restarted OS and lunched a Private window by clicking 'New private window' from Firefox shortcut in the Windows taskbar. 


Actual results:

As Private window has started, it showed new Notification with a chat message from the Telegram which was sent to me while Firefox was closed. There no tab with Telegram, but there is a notification. 


Expected results:

I am not sure, but I expected that no sessions to sites where I signed in should be opened with Private window start.
Component: Untriaged → Private Browsing
Marking as P3 and verified on Firefox 59. We will need to determine the right behavior here before we work on it.
Priority: -- → P3
What happens if you click the notification?  Does it open the tab in the private browsing window, create a new non-PB window for the tab, or do nothing?

I think the right thing to do is open a new non-PB window for the tab.  Other behavior there is probably a bug.

I don't think showing the notification is a problem, though.  The notifications is not "in" the PB window.  Its an overlay that's unrelated to whatever window you happen to be looking at.

Move to service workers component because this is basically a question for how clients.openWindow() should work.
Component: Private Browsing → DOM: Service Workers
Product: Firefox → Core
Version: 53 Branch → Trunk
You need to log in before you can comment on or make changes to this bug.