Open Bug 1202527 Opened 10 years ago Updated 3 years ago

The window size of the last closed private window is the size of all future windows even after restart

Categories

(Firefox :: General, defect)

40 Branch
x86_64
Linux
defect

Tracking

()

People

(Reporter: donrhummy, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0 Build ID: 20150826023504 Steps to reproduce: 1. Open Firefox 2. Open a new private winow 3. Resize the private window 4. Close the private window Then do any of the following: 1. Open a new window or 1. Close firefox 2. Restart firefox (you'll notice the window starts as the private window's size and then expands to full size if it was maximized, if not maximized, it takes the private window's size) 3. Open a new private window and notice it's the old private window's size Actual results: (See above) Expected results: It should not retain the window size of a private window, but instead keep the size of the last non-private window opened/closed.
On my Mac this works as expected: 1. Open a new private winow 2. Resize the private window 3. Close the private window 4. Open a new window The new window will be the same size as the last regular non-private window.
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
(In reply to Eric Ziegenhorn :ericz from comment #1) > On my Mac this works as expected: > > > 1. Open a new private winow > 2. Resize the private window > 3. Close the private window > 4. Open a new window > > The new window will be the same size as the last regular non-private window. Odd. Just to be sure, I tried your exact steps and I still get the non-private window using the last private window's size. I guess it's a Linux bug? (Although I haven't tried Windows)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0 Nightly 45.0a1 Build ID:201512010030228 AND Firefox 42.0 User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Nightly 45.0a1 Build ID:20151201030226 and Firefox 42.0 I am able to reproduce this on both Linux and Windows OS. I am not sure if it is intended or not.
Status: UNCONFIRMED → NEW
Component: Untriaged → General
Ever confirmed: true

Testing on Linux with Firefox 75 and Nightly 77.

I'm not seeing the size of the private browsing window used for new windows in the same session, but if I press control-Q with a private browsing window focused on restart the non-private window created has the initial size of the private browsing window and then changes to the size of the previous non-private window. This is a potential information leak, but only to the tab with focus or pinned tabs, and only if JavaScript in those page actually runs before the resize happens.

Mostly it's just an annoying flash.

The same thing happens if I Maximize the private browsing window and then restart.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.