No "additional permissions" indicator on subdomains of whitelisted domains
Categories
(Firefox :: Site Permissions, defect, P3)
Tracking
()
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.
Comment 1•2 years ago
|
||
(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?
Comment 2•2 years ago
|
||
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.
Comment 6•2 years ago
|
||
(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.
Comment 7•2 years ago
|
||
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.
Comment 8•1 year ago
|
||
Moving this to the Site Identity component, as this doesn't belong in the Address Bar component.
Comment 9•1 year ago
|
||
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
Updated•1 year ago
|
Description
•