allow about:debugging
This commit is contained in:
parent
b086c8d705
commit
fc437d2dfd
19
allow-debugging.patch
Normal file
19
allow-debugging.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- a/browser/components/enterprisepolicies/Policies.sys.mjs
|
||||||
|
+++ b/browser/components/enterprisepolicies/Policies.sys.mjs
|
||||||
|
@@ -1137,8 +1137,6 @@ export var Policies = {
|
||||||
|
"extensions.htmlaboutaddons.recommendations.enable",
|
||||||
|
false
|
||||||
|
);
|
||||||
|
- // Block about:debugging
|
||||||
|
- blockAboutPage(manager, "about:debugging");
|
||||||
|
}
|
||||||
|
if ("restricted_domains" in extensionSettings["*"]) {
|
||||||
|
let restrictedDomains = Services.prefs
|
||||||
|
@@ -1450,7 +1448,6 @@ export var Policies = {
|
||||||
|
if ("Default" in param) {
|
||||||
|
setAndLockPref("xpinstall.enabled", param.Default);
|
||||||
|
if (!param.Default) {
|
||||||
|
- blockAboutPage(manager, "about:debugging");
|
||||||
|
setAndLockPref(
|
||||||
|
"browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons",
|
||||||
|
false
|
|
@ -27,6 +27,11 @@
|
||||||
# restriction.
|
# restriction.
|
||||||
# https://github.com/mozilla/policy-templates/issues/484
|
# https://github.com/mozilla/policy-templates/issues/484
|
||||||
./allow-searchengines-policy.patch
|
./allow-searchengines-policy.patch
|
||||||
|
|
||||||
|
# Firefox disables about:debugging when manual addon
|
||||||
|
# installation is disabled by policy, since it can be used
|
||||||
|
# to sideload. I want managed addons *and* debugging.
|
||||||
|
./allow-debugging.patch
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue