rem: .getService(Components.interfaces.nsIPermissionManager); permissionmanager.add(this.imageURL, !aBlock, IMAGEPERMISSION); 
add: .getService(nsIPermissionManager); var uri = Components.classes["@mozilla.org/network/standard-url;1"] .createInstance(Components.interfaces.nsIURI); uri.spec = this.imageURL; permissionmanager.add(uri, nsIPermissionManager.IMAGE_TYPE, aBlock ? nsIPermissionManager.DENY_ACTION : nsIPermissionManager.ALLOW_ACTION); 
context:     toggleImageBlocking : function (aBlock) {      var permissionmanager =        Components.classes["@mozilla.org/permissionmanager;1"]          .getService(Components.interfaces.nsIPermissionManager);      permissionmanager.add(this.imageURL, !aBlock, IMAGEPERMISSION);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/b647e99aa7c30e06af98e0e83e14ae3a9e33d486/browser.js/buggy/browser/base/content/browser.js