third_party/js/mozmill/shared-modules/addons.js
function addToWhiteList(aDomain) { 
  pm.add(utils.createURI(aDomain),
         "install",
         Ci.nsIPermissionManager.ALLOW_ACTION);
}
function addToWhiteList(aDomain) { 
  pm.add(utils.createURI(aDomain),
         "install",
         Ci.nsIPermissionManager.ALLOW_ACTION);
}
function addToWhiteList ( aDomain ) { pm . add ( utils . createURI ( aDomain ) , "install" , Ci . nsIPermissionManager . ALLOW_ACTION ) ; }
Whitelist permission for the specified domain
@param {string} aDomain
The domain to add the permission for
Whitelist permission for the specified domain