rem: dialog.PreviewImage.src = imageSrc; 
add: { try {     var uri = Components.classes["@mozilla.org/network/standard-url;1"] .createInstance(Components.interfaces.nsIURI); uri.spec = imageSrc;  var imgCacheService = Components.classes["@mozilla.org/image/cache;1"].getService(); var imgCache = imgCacheService.QueryInterface(Components.interfaces.imgICache);   imgCache.removeEntry(uri);  } catch(e) {}  if(dialog.PreviewImage) removeEventListener("load", PreviewImageLoaded, true);  if (dialog.ImageHolder.firstChild) dialog.ImageHolder.removeChild(dialog.ImageHolder.firstChild);  dialog.PreviewImage = document.createElementNS("http: if(dialog.PreviewImage) { dialog.ImageHolder.appendChild(dialog.PreviewImage); dialog.PreviewImage.addEventListener("load", PreviewImageLoaded, true); dialog.PreviewImage.src = imageSrc; } } 
context: function GetImageFromURL(){  dialog.PreviewSize.setAttribute("collapsed", "true");  var imageSrc = dialog.srcInput.value;  if (imageSrc) imageSrc = imageSrc.trimString();  if (!imageSrc) return;  if (IsValidImage(imageSrc))    dialog.PreviewImage.src = imageSrc;}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/cce9ebc66a088a4d09cf0a5ce7e8c7e8586bf80d/EdImageProps.js/buggy/editor/ui/dialogs/content/EdImageProps.js