rem: secMan.CheckLoadURI(sourceURL, targetURL, nsIScriptSecurityManager.STANDARD); 
add: secMan.checkLoadURI(sourceURL, targetURL, nsIScriptSecurityManager.STANDARD); 
context:   function openNewWindowWith(url) { // URL Loading Security Check    const nsIStandardURL = Components.interfaces.nsIStandardURL;    const nsIURI = Components.interfaces.nsIURI;    const stdURL = Components.classes["@mozilla.org/network/standard-url;1"];    var sourceURL = stdURL.createInstance(nsIStandardURL);    var focusedWindow = document.commandDispatcher.focusedWindow;    var sourceWin = isDocumentFrame(focusedWindow) ? focusedWindow.location.href : window._content.location.href;    sourceURL.init(nsIStandardURL.URLTYPE_STANDARD, 80, sourceWin, null);    var targetURL = stdURL.createInstance(nsIStandardURL);    targetURL.init(nsIStandardURL.URLTYPE_STANDARD, 80, url, null);    const nsIScriptSecurityManager = Components.interfaces.nsIScriptSecurityManager;    var secMan = Components.classes["@mozilla.org/scriptsecuritymanager;1"].getService().                 QueryInterface(nsIScriptSecurityManager);    secMan.CheckLoadURI(sourceURL, targetURL, nsIScriptSecurityManager.STANDARD);    var newWin;    var wintype = document.firstChild.getAttribute('windowtype');         // if and only if the current window is a browser window and it has a document with a character    // set, then extract the current charset menu setting from the current document and use it to    // initialize the new browser window...    if (window && (wintype == "navigator:browser") &&      window._content && window._content.document) {      var DocCharset = window._content.document.characterSet;      var charsetArg = "charset="+DocCharset;       //we should "inherit" the charset menu setting in a new window      newWin = window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url, charsetArg, true );    }    else { // forget about the charset information.      newWin = window.openDialog( getBrowserURL(), "_blank", "chrome,all,dialog=no", url, null, true );    }     // Fix new window.        newWin.saveFileAndPos = true;  }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/f3139ac5e5e94e2eef68356c952bcfbb7a5ee865/contentAreaUtils.js/clean/xpfe/communicator/resources/content/contentAreaUtils.js