Add moz-external-app permission (bug 1192080)
Also keep external-app but move it to prerelease permissions as it's not supposed to be used by everyone at the moment.
This commit is contained in:
Родитель
4678dcea75
Коммит
9547dcf262
|
@ -42,9 +42,8 @@ PERMISSIONS = {
|
||||||
'audio-channel-alarm', 'audio-channel-notification', 'browser',
|
'audio-channel-alarm', 'audio-channel-notification', 'browser',
|
||||||
'camera', 'contacts', 'device-storage:pictures',
|
'camera', 'contacts', 'device-storage:pictures',
|
||||||
'device-storage:videos', 'device-storage:music',
|
'device-storage:videos', 'device-storage:music',
|
||||||
'device-storage:sdcard', 'external-app', 'feature-detection',
|
'device-storage:sdcard', 'feature-detection', 'input', 'mobileid',
|
||||||
'input', 'mobileid', 'mobilenetwork', 'nfc', 'speaker-control',
|
'mobilenetwork', 'nfc', 'speaker-control', 'systemXHR', 'tcp-socket'
|
||||||
'systemXHR', 'tcp-socket'
|
|
||||||
]),
|
]),
|
||||||
'certified': set([
|
'certified': set([
|
||||||
'attention', 'audio-channel-ringer', 'audio-channel-telephony',
|
'attention', 'audio-channel-ringer', 'audio-channel-telephony',
|
||||||
|
@ -57,7 +56,12 @@ PERMISSIONS = {
|
||||||
'wifi-manage', 'wappush'
|
'wifi-manage', 'wappush'
|
||||||
]),
|
]),
|
||||||
'prerelease': set([
|
'prerelease': set([
|
||||||
|
# Through it doesn't have a moz- prefix, external-app is limited at the
|
||||||
|
# moment, and co-exists with moz-external-app, so both are in the
|
||||||
|
# prerelease set.
|
||||||
|
'external-app',
|
||||||
'moz-attention',
|
'moz-attention',
|
||||||
|
'moz-external-app',
|
||||||
'moz-firefox-accounts',
|
'moz-firefox-accounts',
|
||||||
'moz-audio-channel-telephony',
|
'moz-audio-channel-telephony',
|
||||||
'moz-audio-channel-ringer',
|
'moz-audio-channel-ringer',
|
||||||
|
|
Загрузка…
Ссылка в новой задаче