Bug 753393 - Add device-storage permission for Gaia apps and enable device storage preference for b2g. r=vingtetun

This commit is contained in:
David Flanagan 2012-05-09 16:18:47 -07:00
parent efb16a31cf
commit 88a8ff1b61
2 changed files with 3 additions and 1 deletions

View File

@ -512,3 +512,5 @@ pref("extensions.getAddons.cache.enabled", false);
pref("ui.click_hold_context_menus", true);
pref("ui.click_hold_context_menus.delay", 1000);
// Enable device storage
pref("device.storage.enabled", true);

View File

@ -54,7 +54,7 @@ function addPermissions(urls) {
'indexedDB', 'indexedDB-unlimited', 'webapps-manage', 'offline-app', 'pin-app',
'websettings-read', 'websettings-readwrite',
'content-camera', 'webcontacts-manage', 'wifi-manage', 'desktop-notification',
'geolocation'
'geolocation', 'device-storage'
];
urls.forEach(function(url) {
url = url.trim();