Permalink
Browse files

Bug 711358 - [b2g] Add indexedDB-unlimited permission to pre-installe…

…d apps r=cjones
  • Loading branch information...
1 parent bfa30e5 commit d0a994676b30ce153cffd5d471b033788a90c668 @vingtetun vingtetun committed Dec 26, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 b2g/chrome/content/shell.js
@@ -76,7 +76,9 @@ function startupHttpd(baseDir, port) {
// until we have a proper security model, add some rights to
// the pre-installed web applications
function addPermissions(urls) {
- let permissions = ['indexedDB', 'webapps-manage', 'offline-app'];
+ let permissions = [
+ 'indexedDB', 'indexedDB-unlimited', 'webapps-manage', 'offline-app'
+ ];
urls.forEach(function(url) {
let uri = Services.io.newURI(url, null, null);
let allow = Ci.nsIPermissionManager.ALLOW_ACTION;

0 comments on commit d0a9946

Please sign in to comment.