Open Bug 1801327 Opened 2 years ago Updated 10 months ago

No "additional permissions" indicator on subdomains of whitelisted domains

Categories

(Firefox :: Site Permissions, defect, P3)

Desktop
All
defect

Tracking

()

Tracking Status
firefox107 --- affected
firefox108 --- affected
firefox109 --- affected

People

(Reporter: 08xjcec48, Unassigned)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0

Steps to reproduce:

  • Go to about:preferences#privacy
  • Set Firefox to Delete cookies and site data when Firefox is closed
  • Add an exception for https://mozilla.org to whitelist all Mozilla sites
  • Open https://bugzilla.mozilla.org/

Actual results:

Cookies are whitelisted, but there's no You have granted this website additional permissions. indicator in the address bar.

Component: Untriaged → Address Bar
OS: Unspecified → All
Hardware: Unspecified → Desktop

(In reply to 08xjcec48 from comment #0)
Attempted to reproduce error - Mozilla cookies were whitelisted and additional permissions indicator was present in the address bar. Might be your configuration, can you double check you have whitelisted the cookies?

Yes, cookies are whitelisted on all subdomains by the rule I mentioned (https://mozilla.org). I've been using this same configuration for a long time. The indicator only appears if I explicitly add this specific subdomain (https://bugzilla.mozilla.org/). Just created a new profile on Firefox 107 and the issue is still present.

Are you Firefox Nightly? Maybe they've fixed my issue when they updated the UI.

(In reply to 08xjcec48 from comment #3)
No, I am using the release version of Firefox.
Unfortunately I'm not too sure what the issue is, but I suspect it might be a problem solely with your browser given we're using the same Firefox build.

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0

Hi,

I am able to reproduce the issue in release 107, beta 108.0b3 and the latest nightly 109.0a1 (2022-11-21) on Windows 10.

Thanks for your input.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true

Moving this to the Site Identity component, as this doesn't belong in the Address Bar component.

Component: Address Bar → Site Identity

The problem is that permissions are origin scoped, but shutdown clearing exceptions are site scoped. Site scoping makes sense, e.g. because cookies may be served for the entire site and therefore need to be cleared / preserved in that scope.

We could potentially add the permission to the list in the Permission Manager here so that it automatically gets site scoped and thus properly fetched and displayed by the permission UI:
https://searchfox.org/mozilla-central/rev/5134f3f1c7794fcff1bde59dc7b4ae65cc460919/extensions/permissions/PermissionManager.cpp#177

Priority: -- → P3
Component: Site Identity → Site Permissions
Version: Firefox 107 → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: