code: function addToWhiteList(aDomain) { 
    pm.add(utils.createURI(aDomain),
           "install",
           Ci.nsIPermissionManager.ALLOW_ACTION);
  }
docs: Whitelist permission for the specified domain
  @param {string} aDomain
  The domain to add the permission for