rem: urlSecurityCheck(this.target.currentURI.spec, this.docURL); 
add: urlSecurityCheck(this.target.currentURI.spec, this.target.ownerDocument.nodePrincipal); 
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.currentURI.spec, 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: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8395/323286399cc3e12b9d640d15efcc6c52f3676e5e/nsContextMenu.js/clean/browser/base/content/nsContextMenu.js