Closed Bug 2005514 Opened 11 months ago Closed 11 months ago

Site exclusion action is not updated in the pref instantaneously

Categories

(Firefox :: IP Protection, defect)

Firefox 148
Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox147 --- wontfix
firefox148 --- verified

People

(Reporter: vvalentina, Assigned: rking)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fx-vpn])

Attachments

(1 obsolete file)

[Affected versions]:

  • Firefox Nightly 148.0a1 (12/11/25);
  • Firefox Beta 147.0b1;

[Affected Platforms]:

  • Windows 10 x64;

[Prerequisites]:

  • Be enrolled into the IP Concealment (Alpha) experiment;
  • Have a Mozilla prod account with/without subscription;
  • Have the “browser.ipProtection.variant” pref set to “beta”;
  • Have the “browser.ipProtection.features.siteExceptions” set to “true”;

[Steps to reproduce]:

  1. Finalize log into Firefox VPN with the Mozilla account from prerequisites;
  2. Turn on Firefox VPN (the browser.ipProtection.onboardingMessageMask is incremented with 4);
  3. Go to about:preferences#privacy;
  4. Select “All websites” and add a website to the list;
  5. Go to about:config and see the value of “browser.ipProtection.onboardingMessageMask” pref;

[Expected result]:

  • The “browser.ipProtection.onboardingMessageMask” has been incremented with 2. (currently 4 + 2 )

[Actual result]:

  • The”browser.ipProtection.onboardingMessageMask” has the same value as before; (in this case 4)

[Notes]:

  • Restarting the browser, triggers the pref incrementation;
  • Browser restart is not required for the turn on or autostart options.
Assignee: nobody → rking

Hi Valentina, did you use a brand new profile when you saw the issue, or an existing profile? If you used an existing profile, did that profile happen to have site exclusions saved in about:preferences? I'm also wondering if, at one point, you did these steps:

  1. Cleared the onboardingMessageMask pref
  2. Cleared the list of exclusions in about:preferences, so that the list was empty
  3. Added a new exclusion to the list
  4. Then, verified the onboardingMessageMask pref

I ask because, in our current implementation, we only "listen" for site exclusion additions if the exclusions list is empty when the browser loads. If you happened to load a profile with exclusions already saved and cleared the pref / list right after, then we won't "listen" for newly added exclusions and won't update the pref until you reset the browser.

Flags: needinfo?(vvirlics)
Blocks: 2005704
No longer blocks: 1992379
Flags: needinfo?(vvirlics)

I've repeted the steps from this ticket making sure I don't end up in none of the mentioned scenarios.
New profile, enrolled in the experiment, changed variant pref to alpha, turned ON Firefox VPN so that the “browser.ipProtection.onboardingMessageMask” pref is created. Changed the “browser.ipProtection.features.siteExceptions” set to “true” and went in about:preferences to add a website. After adding it, I've checked the pref again, no incrementation. Restarted the browser => pref incremented.

(In reply to Valentina Virlics [:vvalentina], VPN QA from comment #3)

I've repeted the steps from this ticket making sure I don't end up in none of the mentioned scenarios.
New profile, enrolled in the experiment, changed variant pref to alpha, turned ON Firefox VPN so that the “browser.ipProtection.onboardingMessageMask” pref is created. Changed the “browser.ipProtection.features.siteExceptions” set to “true” and went in about:preferences to add a website. After adding it, I've checked the pref again, no incrementation. Restarted the browser => pref incremented.

Got it, thanks for taking the time to check the steps again!

Attachment #9532426 - Attachment is obsolete: true

Verified this as fixed using Firefox Nightly 148.0a1 (22/12/25) on Windows 10.
The site exclusion action is updated in the pref instantaneously, without browser restart.

Should this bug be closed then?

Flags: needinfo?(vvirlics)

Confirmed that we won't be uplifting a solution to this to 147 since it doesn't impact the user and closing the bug.

Status: NEW → RESOLVED
Closed: 11 months ago
Flags: needinfo?(vvirlics)
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Whiteboard: [fx-vpn]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: