mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-25 20:01:50 +00:00
Bug 1756919 - remove unnecessary default permissions, r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D188964
This commit is contained in:
parent
b0997d48fc
commit
b34ed3c3b5
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"],
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user