Closed Bug 1576785 Opened 3 years ago Closed 3 years ago

SitePermissions does not cater for all image permissions

Categories

(Firefox :: Site Permissions, defect, P3)

defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox70 --- affected

People

(Reporter: iannbugzilla, Unassigned)

References

Details

Image permissions can be:
1-Accept, 2-Deny, 3-dontAcceptForeign
See https://searchfox.org/mozilla-central/source/modules/libpref/init/all.js#2228
At the moment SitePermissions.jsm does not cater for the value 3, it only gives ALLOW and BLOCK
Bug 1543812 has given the ability to create a custom getMultichoiceStateLabel for image permissions and the value of SitePermissions.PROMPT equates to BEHAVIOR_NOFOREIGN from nsContentBlocker.cpp so should be fairly straight forward to add suitable code to SitePermissions.jsm and appropriate string into sitePermissions.properties

Priority: -- → P3
Component: Site Identity → Site Permissions

image permissions are being unsupported and removed

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.