rem: permissionmanager.add(uri, dialogType, action); 
add:  if (permissionmanager.testPermission(uri, dialogType) != action) permissionmanager.add(uri, dialogType, action);  
context: function setCookiePermissions(action) {  var site = document.getElementById('cookie-site');  var url = site.value.replace(/^\s*([-\w]*:\/+)?/, "http://");  var ioService = Components.classes["@mozilla.org/network/io-service;1"]                            .getService(Components.interfaces.nsIIOService);  var uri = ioService.newURI(url, null, null);    permissionmanager.add(uri, dialogType, action);  site.focus();  site.value = "";}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/2ffeb5cbdf190cddf08c0a93e9c48c084abba195/cookieViewer.js/clean/xpfe/components/permissions/content/cookieViewer.js