Bug 1756919 - remove unnecessary default permissions, r=pbz

Differential Revision: https://phabricator.services.mozilla.com/D188964
This commit is contained in:
Gijs Kruitbosch 2023-09-28 11:09:24 +00:00
parent b0997d48fc
commit b34ed3c3b5
3 changed files with 0 additions and 14 deletions

View File

@ -11,10 +11,7 @@
# Bug 1557153: www.mozilla.org gets a special workaround in UITourChild.sys.mjs
# Bug 1837407: support.mozilla.org gets a special workaround for similar reasons.
origin uitour 1 https://www.mozilla.org
origin uitour 1 https://monitor.firefox.com
origin uitour 1 https://screenshots.firefox.com
origin uitour 1 https://support.mozilla.org
origin uitour 1 https://truecolors.firefox.com
origin uitour 1 about:home
origin uitour 1 about:newtab
@ -24,8 +21,5 @@ origin install 1 https://addons.mozilla.org
# Remote troubleshooting
origin remote-troubleshooting 1 https://support.mozilla.org
# addon install
origin install 1 https://fpn.firefox.com
# autoplay video/audio
origin autoplay-media 1 about:welcome

View File

@ -4199,15 +4199,11 @@ BrowserGlue.prototype = {
// originInfo in the format [origin, type]
[
["https://www.mozilla.org", "uitour"],
["https://monitor.firefox.com", "uitour"],
["https://screenshots.firefox.com", "uitour"],
["https://support.mozilla.org", "uitour"],
["https://truecolors.firefox.com", "uitour"],
["about:home", "uitour"],
["about:newtab", "uitour"],
["https://addons.mozilla.org", "install"],
["https://support.mozilla.org", "remote-troubleshooting"],
["https://fpn.firefox.com", "install"],
["about:welcome", "autoplay-media"],
].forEach(originInfo => {
// Reset permission on the condition that it is set to

View File

@ -35,15 +35,11 @@ add_task(async function test_resettingDefaults() {
// Origin infos for default permissions in the format [origin, type].
let originInfos = [
["https://www.mozilla.org", "uitour"],
["https://monitor.firefox.com", "uitour"],
["https://screenshots.firefox.com", "uitour"],
["https://support.mozilla.org", "uitour"],
["https://truecolors.firefox.com", "uitour"],
["about:home", "uitour"],
["about:newtab", "uitour"],
["https://addons.mozilla.org", "install"],
["https://support.mozilla.org", "remote-troubleshooting"],
["https://fpn.firefox.com", "install"],
["about:welcome", "autoplay-media"],
];