Cleanup nsContentBlocker permissions
Categories
(Core :: Permission Manager, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox129 | --- | fixed |
People
(Reporter: emz, Assigned: wwen, Mentored)
References
Details
(Keywords: priv-triaged, Whiteboard: [lang=js])
Attachments
(1 file)
Now that nsContentBlocker
has been removed in Bug 1357107, we should clean up the leftover permissions from the profiles.
Permissions used by nsContentBlocker
It would probably make sense to do this in FF 75 earliest, after the nsContentBlocker
removal hit release.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Comment 2•5 years ago
|
||
I'm currently busy with other tasks but this is definitely something I'd like to get back to. However, I don't want to block anyone else from picking this up!
Updated•2 years ago
|
Reporter | ||
Comment 3•1 year ago
|
||
To clean up these old permissions you can add a migration in BrowserGlue.sys.mjs
, see https://searchfox.org/mozilla-central/rev/2a867dd1ab015c3ef24b774a57709fb3b3dc4961/browser/components/BrowserGlue.sys.mjs#3802. The nsIPermissionManager
interface is accessible via Services.perms
and allows you to clear the permission which match the type list here: https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/extensions/permissions/nsPermissionManager.cpp#107-118
Reporter | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•10 months ago
|
||
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Comment 6•10 months ago
|
||
bugherder |
Description
•