Closed Bug 1548095 Opened 1 year ago Closed 1 year ago

Provide a way to block the loading of addons without blocking everything else

Categories

(DevTools :: about:debugging, enhancement, P1)

enhancement

Tracking

(firefox68 fixed)

RESOLVED FIXED
Firefox 68
Tracking Status
firefox68 --- fixed

People

(Reporter: mkaply, Assigned: jdescottes)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

In enterprise policy, folks want to block the installation of addons.

If they do that, we need to prevent the loading of addons via about:debugging.

Right now all we can do is block about:debugging completely.

It would be nice if there was someway to simply remove the Load Temporary Addon button if addon blocking is enabled.

:mkaply, which pref is blocking for blocking installation of addons that about:debugging should use to hide the button?

Flags: needinfo?(mozilla)

If xpinstall.enabled is locked to false.

There's also a new policy coming, but if the infrastructure is there, I can just hook into it.

Flags: needinfo?(mozilla)

It would be nice if there was someway to simply remove the Load Temporary Addon button if addon blocking is enabled.

If we fix this in 68, this needs to be fixed in both the old about:debugging (which can still be enabled with a pref) and the new one.

For the new about:debugging I would just hide the whole temporary extension section.
For the old one we should just hide the button.

It makes sense to adapt the aboutdebugging UI here, but the root cause should also be fixed IMO. The AddonManager.installTemporaryAddon should not allow extensions to be installed when this pref is false.

Blocks: 1548135
See Also: → 1548139
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/af96bd1090b5
Hide temporary addon category in about:debugging when xpinstall.enabled is false r=daisuke
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 68
You need to log in before you can comment on or make changes to this bug.