Closed Bug 2006904 Opened 11 months ago Closed 10 months ago

Some websites are not excluded, despite being on the exclusion list

Categories

(Firefox :: IP Protection, defect, P1)

Desktop
Windows 10
defect

Tracking

()

VERIFIED FIXED
149 Branch
Tracking Status
firefox148 --- disabled
firefox149 --- verified

People

(Reporter: rilban, Assigned: fchasen)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fx-vpn] [bzkanban-sprint][qe-verify])

Attachments

(1 file, 1 external file)

Attached video SiteExclusion.mp4 —

[Affected versions]:

  • Firefox Nightly 148.0a1 (2025-12-18);

[Affected Platforms]:

  • Windows 10 x64;

[Prerequisites]:

  • Be enrolled into the experiment.
  • Have the “Browser.ipProtection.features.siteExceptions” pref set to true;

[Steps to reproduce]:

  1. Go to the Firefox VPN section from the about:preferences#privacy page.
  2. Click on “Manage websites settings” to open the Site Exclusions modal .
  3. Add some websites to the list of exclusions and click on the “Save Changes” button. E.g. whatismyipaddress.com, https://mylocation.org/, speedtest.net.
  4. Turn on Firefox VPN.
  5. Load all websites mentioned in step 3.
  6. Observe the location displayed on these websites.

[Expected result]:
The real location is displayed for all the websites that are in the list of exclusion from Firefox VPN.

[Actual result]:
For some of these websites, the Firefox VPN location is displayed, even though they are in the list of excluded websites. https://whatismyipaddress.com/ , http://mylocation.org , https://www.speedtest.net/ are not excluded

[Notes]:

  • Exclusions works for these websites: mullvad.net, speed.cloudflare.com, whatismyip.com
  • See attached recording.
No longer depends on: 1987907, 2005704
Priority: -- → P1
Whiteboard: [fx-vpn]
Blocks: 2004517
Assignee: nobody → fchasen
Whiteboard: [fx-vpn] → [fx-vpn] [bzkanban-sprint]

When loadingPrincipal is null on top level loads, IPPChannelFilter.shouldExclude will fallback to getting the principal using scriptSecurityManager.getChannelURIPrincipal.

Pushed by fchasen@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/53c1460df014 https://hg.mozilla.org/integration/autoland/rev/c55e97494b8c Add a fallback for top level loads when checking principals in IPPChannelFilter. r=ip-protection-reviewers,kpatenio

Authored by https://github.com/fchasen
https://github.com/mozilla-firefox/firefox/commit/53c1460df0143fbaa36d75ed8e66cb9004e5af7f
[main] Bug 2006904 - Add a fallback for top level loads when checking principals in IPPChannelFilter. r=ip-protection-reviewers,kpatenio

Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch

Hi QA team,

This is ready to be reviewed at your earliest convenience. Can you please verify if the reported sites have been fixed when using exclusions?

Thanks!

Whiteboard: [fx-vpn] [bzkanban-sprint] → [fx-vpn] [bzkanban-sprint][qe-verify]

We have verified that this issue is fixed using Firefox Nightly 149.0a1 (2026-01-22), exclusion works as expected for the mentioned websites.

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

Attachment

General

Created:
Updated:
Size: