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