rem: var uri = Components.classes["@mozilla.org/network/standard-url;1"] .createInstance(Components.interfaces.nsIURI); uri.spec = this.imageURL; 
add:  var uri = this.target.QueryInterface(Components.interfaces.nsIImageLoadingContent).currentURI;  
context:     isImageBlocked : function() {      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, "image") == nsIPermissionManager.DENY_ACTION;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/bc66955a4bf9b8fcb30c12c5a0f6293bb7fbb178/browser.js/buggy/browser/base/content/browser.js