Closed Bug 1448423 Opened 7 years ago Closed 7 months ago

browser.startup.blankWindow causes window to be visibly resized on startup with privacy.resistFingerprinting (RoundWindowSize)

Categories

(Core :: Privacy: Anti-Tracking, defect, P3)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
136 Branch
Tracking Status
firefox-esr52 --- unaffected
firefox-esr115 --- wontfix
firefox-esr128 --- wontfix
firefox59 --- unaffected
firefox60 --- disabled
firefox61 --- disabled
firefox131 --- wontfix
firefox132 --- wontfix
firefox133 --- wontfix
firefox134 --- wontfix
firefox135 --- wontfix
firefox136 --- verified

People

(Reporter: ahx27k+c4n0glofdot50, Assigned: fkilic)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 Build ID: 20100101 Steps to reproduce: Run latest Nightly, enable privacy.resistFingerprinting, and close then open the browser. Actual results: The window gets maximized then minimized again. Expected results: The window shouldn't be maximized in the first place.
Blocks: 1447719
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Untriaged → General
Hey Tom, Is this shipping in 61?
Flags: needinfo?(tom)
(In reply to Marion Daly [:mdaly] from comment #1) > Hey Tom, Is this shipping in 61? Resist Fingerprinting is a non-default preference; it is present in 61, but it is not on by default.
Flags: needinfo?(tom)
Making it a fix-optional for 61 then.
I might have reproduced this? Ubuntu 17.10 x64 Enable RFP Maximize the window Close Firefox Open Firefox It opens maximized, then visibly resizes to rounded dimension Also: Enable RFP Resize Window to be non-maximized but slightly larger than rounded dimensions Close Firefox Open Firefox It opens at the previous size then visibly resizes to rounded dimensions If I disable browser.startup.blankWindow then the window will _start_ with the same resized dimensions as before, instead of visibly resizing in front of me. So something in browser.startup.blankWindow definitely is affecting this. But the resulting resized behavior I think is what we intended? Want to double check with Arthur.
Flags: needinfo?(arthuredelstein)
I think ideally, on startup, the window should open directly to the RFP dimensions, without any visible resizing.
Flags: needinfo?(arthuredelstein)
Priority: -- → P3
(In reply to Tom Ritter [:tjr] from comment #4) > So something in browser.startup.blankWindow definitely is affecting this. Yes, see https://searchfox.org/mozilla-central/rev/7e663b9fa578d425684ce2560e5fa2464f504b34/browser/components/nsBrowserGlue.js#52-65 (In reply to Arthur Edelstein (Tor Browser dev) [:arthuredelstein] from comment #5) > I think ideally, on startup, the window should open directly to the RFP > dimensions, without any visible resizing. Right, so I think the question is why are the sizemode, width and height set by RFP not persisted in XULStore.
Blocks: 1336227
No longer blocks: 1447719
See Also: → 1535565
See Also: → 1535568
No longer blocks: 1336227
Regressed by: 1336227
Has Regression Range: --- → yes
Severity: normal → S3

I think this bug was resolved with Bug 1897590. Are you still able to reproduce this bug?

Flags: needinfo?(ahx27k+c4n0glofdot50)

Redirect a needinfo that is pending on an inactive user to the triage owner.
:sclements, since the bug has recent activity, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(ahx27k+c4n0glofdot50) → needinfo?(sclements)

Since the reporter is inactive and this bug was filed 7 years ago, I'm going to close this out as fixed per comment 7. Please reopen if it isn't.

Status: NEW → RESOLVED
Closed: 11 months ago
Flags: needinfo?(sclements)
Resolution: --- → WORKSFORME

I can still reproduce Comment 4 STR on Windows and Linux with browser.startup.blankWindow = true. On Linux this setting is Nightly-only.

FPP can be used as an alternative to RFP which allows disabling the window rounding behavior:

privacy.resistFingerprinting = false
privacy.fingerprintingProtection = true
privacy.fingerprintingProtection.overrides = +AllTargets,-RoundWindowSize
Status: RESOLVED → REOPENED
OS: Linux → All
Resolution: WORKSFORME → ---
Summary: browser.startup.blankWindow bugs when privacy.resistFingerprinting is enabled → browser.startup.blankWindow causes window to be visibly resized on startup with privacy.resistFingerprinting (RoundWindowSize)
Assignee: nobody → fkilic
Component: General → Privacy: Anti-Tracking
Product: Firefox → Core
Version: 61 Branch → unspecified
Pushed by fkilic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ac0d0fe55391 Allow passing IsPBM to ChromeUtils::ShouldResistFingerprinting. r=tjr https://hg.mozilla.org/integration/autoland/rev/93e49e407bc1 Skip earlyBlankFirstPaint if RoundWindowSize RFP target is enabled. r=tjr,Gijs

Backed out for causing bc fails @ browser_startup.js

TEST-UNEXPECTED-FAIL | browser/base/content/test/performance/browser_startup.js | should have no unexpected modules loaded before profile selection - Got 1, expected +0
Flags: needinfo?(fkilic)

Hmm sorry about that. Didn't know we couldn't use modules before profile selection

Flags: needinfo?(fkilic)
Pushed by fkilic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7880471154e3 Allow passing IsPBM to ChromeUtils::ShouldResistFingerprinting. r=tjr https://hg.mozilla.org/integration/autoland/rev/8582362518f1 Skip earlyBlankFirstPaint if RoundWindowSize RFP target is enabled. r=tjr,Gijs
Status: REOPENED → RESOLVED
Closed: 11 months ago7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
Flags: qe-verify+

I have reproduced this issue using an affected Nightly build (2025-01-01), following the STR from comment 1.

The issue is verified as fixed on Beta 136.0b2, with Win 11, Ubuntu 24 and macOS 14.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: