Bug 1072748 - Switch thunderbird from xpinstall.whitelist.add to using a default permissions file. r=bwinton
- port bug 506446 (use default_permissions file) - port bug 1050080 (remove xpinstall.whitelist.add)
This commit is contained in:
Родитель
84d1299992
Коммит
e20957bb02
|
@ -0,0 +1,4 @@
|
|||
messenger.jar:
|
||||
% resource app %
|
||||
defaults/permissions (permissions)
|
||||
|
|
@ -53,6 +53,8 @@ if CONFIG['MOZILLA_OFFICIAL']:
|
|||
|
||||
DISABLE_STL_WRAPPING = True
|
||||
|
||||
JAR_MANIFESTS += ['jar.mn']
|
||||
|
||||
JS_PREFERENCE_FILES += [
|
||||
'profile/all-thunderbird.js',
|
||||
'profile/channel-prefs.js',
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
# This file has default permissions for the permission manager.
|
||||
# The file-format is strict:
|
||||
# * matchtype \t type \t permission \t host
|
||||
# * Only "host" is supported for matchtype
|
||||
# * type is a string that identifies the type of permission (e.g. "cookie")
|
||||
# * permission is an integer between 1 and 15
|
||||
# See nsPermissionManager.cpp for more...
|
||||
|
||||
# XPInstall
|
||||
host install 1 addons.mozilla.org
|
|
@ -209,10 +209,9 @@ pref("extensions.dss.switchPending", false); // Non-dynamic switch pending af
|
|||
pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.name", "chrome://messenger/locale/messenger.properties");
|
||||
pref("extensions.{972ce4c6-7e08-4474-a285-3208198ce6fd}.description", "chrome://messenger/locale/messenger.properties");
|
||||
|
||||
pref("permissions.manager.defaultsUrl", "resource://app/defaults/permissions");
|
||||
pref("lightweightThemes.update.enabled", true);
|
||||
|
||||
pref("xpinstall.whitelist.add", "addons.mozilla.org");
|
||||
|
||||
pref("general.smoothScroll", true);
|
||||
#ifdef UNIX_BUT_NOT_MAC
|
||||
pref("general.autoScroll", false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче