rem: urlSecurityCheck(url, document);  var referrer = sendReferrer ? getReferrer(document) : null;  
context: function openNewTabWith(url, sendReferrer, reverseBackgroundPref) {  urlSecurityCheck(url, document);  var referrer = sendReferrer ? getReferrer(document) : null;  var browser;  try {    // if we're running in a browser window, this should work    //    browser = getBrowser();  } catch (ex if ex instanceof ReferenceError) {    // must be running somewhere else (eg mailnews message pane); need to    // find a browser window first    //    var windowMediator =      Components.classes["@mozilla.org/appshell/window-mediator;1"]      .getService(Components.interfaces.nsIWindowMediator);    var browserWin = windowMediator.getMostRecentWindow("navigator:browser");    // if there's no existing browser window, open this url in one, and    // return    //    if (!browserWin) {      window.openDialog(getBrowserURL(), "_blank", "chrome,all,dialog=no",                         url, null, referrer);      return;    }    // otherwise, get the existing browser object    //    browser = browserWin.getBrowser();  }  var tab = browser.addTab(url, referrer); // open link in new tab  if (pref) {    var loadInBackground = pref.getBoolPref("browser.tabs.loadInBackground");    if (reverseBackgroundPref)      loadInBackground = !loadInBackground;    if (!loadInBackground)      browser.selectedTab = tab;  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/784c0dee7d0ef5d95e4108b239d1822739bb1929/contentAreaUtils.js/buggy/xpfe/communicator/resources/content/contentAreaUtils.js