Closed Bug 1364398 Opened 8 years ago Closed 7 years ago

Firefox doesn't restore windows into a rounded size when it comes with 2 or more windows if 'privacy.resistFingerprinting' is true

Categories

(Core :: XUL, defect, P2)

55 Branch
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: afnankhan, Assigned: timhuang)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [fingerprinting][fp-triaged])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:55.0) Gecko/20100101 Firefox/55.0 Build ID: 20170511063838 Steps to reproduce: Firefox doesn't remember window maximized state both on startup or when I open new window when privacy.resistFingerprinting is true. I am using latest Nightly. 1. Set privacy.resistFingerprinting to true 2. Maximize window if not maximized 3. Open new window 4. Close Firefox in maximized state 5. Open Firefox again Actual results: 1. New window doesn't open maximized 2. Firefox doesn't open in maximized state Expected results: 1. New window should open maximized if current window is maximized 2. Firefox should open in maximized state if it was close maximized I am using Windows 10 and Firefox Nightly
Did it use to work with previous nightlies and same settings?
Flags: needinfo?(afnankhan)
Regression range: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=4c7c05a49f3ce40aa0969beccb397380a8907f4a&tochange=fc2eda92be4091d5ea0828f51fe4aaee41ed8319 It's a side effect of bug 1330882. And IMHO, it's probably by design to reduce fingerprinting by monitoring the size of the display window. Tim, could you confirm this behaviour is expected?
Blocks: 1330882
Has Regression Range: --- → yes
Has STR: --- → yes
Component: Untriaged → XUL
Flags: needinfo?(afnankhan) → needinfo?(tihuang)
Keywords: regression
Product: Firefox → Core
The session restore will intentionally not to restore window size when 'privacy.resistfingerprinting' is true. The purpose of this behavior is to mitigate browser fingerprinting. So, yes, this behavior is expected.
Flags: needinfo?(tihuang)
Ty.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
1. If user changed window size, new dimensions should be preserved, user can always open a new window with default size of 1000x1000 2. If there are 2 windows on browser restart only first one is resized to 1000x1000 So this issue is not fixed in either way.
Tim, how is managed the case with 2 (or more) windows open? Should Firefox resize all windows with the size of 1000x1000?
Flags: needinfo?(tihuang)
Yes, Firefox should resize all windows into 1000x1000 for preventing browser fingerprinting. I will looking into it.
Assignee: nobody → tihuang
Status: RESOLVED → REOPENED
Ever confirmed: true
Flags: needinfo?(tihuang)
Resolution: INVALID → ---
Summary: Firefox doesn't remember window maximized state when privacy.resistFingerprinting is true → Firefox doesn't restore windows into a rounded size when it comes with 2 or more windows if 'privacy.resistFingerprinting' is true
Whiteboard: [fingerprinting]
Priority: -- → P2
Whiteboard: [fingerprinting] → [fingerprinting][fp-triaged]
It appears to me that the problem which was mentioned by comment 6 is no longer shown for the latest nightly, Build ID: 20180115220459. I have run a bisect and it turns out that this problem was fixed after Bug 1365541 was landed. So, I think we can close this bug.
Status: REOPENED → RESOLVED
Closed: 8 years ago7 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.