rem: urlSecurityCheck(this.target.src, this.docURL); 
add: urlSecurityCheck(this.target.currentURI.spec, this.docURL); 
context:     setDesktopBackground: function() {      // Paranoia: check disableSetDesktopBackground again, in case the      // image changed since the context menu was initiated.      if (this.disableSetDesktopBackground())        return;      urlSecurityCheck(this.target.src, this.docURL);      // Confirm since it's annoying if you hit this accidentally.      const kDesktopBackgroundURL =                     "chrome://browser/content/setDesktopBackground.xul";#ifdef XP_MACOSX      // On Mac, the Set Desktop Background window is not modal.      // Don't open more than one Set Desktop Background window.      var wm = Components.classes["@mozilla.org/appshell/window-mediator;1"]                         .getService(Components.interfaces.nsIWindowMediator);      var dbWin = wm.getMostRecentWindow("Shell:SetDesktopBackground");      if (dbWin) {        dbWin.gSetBackground.init(this.target);        dbWin.focus();      }      else {        openDialog(kDesktopBackgroundURL, "",                   "centerscreen,chrome,dialog=no,dependent,resizable=no",                   this.target);      }#else      // On non-Mac platforms, the Set Wallpaper dialog is modal.      openDialog(kDesktopBackgroundURL, "",                 "centerscreen,chrome,dialog,modal,dependent",                 this.target);#endif    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3d1c5718552a7cee937c586e068c033cc958e40e/browser.js/buggy/browser/base/content/browser.js