rem: try { modal = pref.GetBoolPref( "browser.prefWindowModal"); } catch (e) { modal = true; } 
context: function goPreferences(containerID, paneURL, itemID){  var modal, resizable;  var pref = Components.classes["@mozilla.org/preferences;1"].getService(Components.interfaces.nsIPref);  try {    modal = pref.GetBoolPref( "browser.prefWindowModal");  }  catch (e) {    modal = true;  }  try {    // We are resizable ONLY if in box debugging mode, because in    // this special debug mode it is often impossible to see the     // content of the debug panel in order to disable debug mode.    resizable = pref.GetBoolPref("xul.debug.box");  }  catch (e) {    resizable = false;  }  //check for an existing pref window and focus it; it's not application modal  const kWindowMediatorContractID = "@mozilla.org/rdf/datasource;1?name=window-mediator";  const kWindowMediatorIID = Components.interfaces.nsIWindowMediator;  const kWindowMediator = Components.classes[kWindowMediatorContractID].getService(kWindowMediatorIID);  var lastPrefWindow = kWindowMediator.getMostRecentWindow("mozilla:preferences");  if (lastPrefWindow)    lastPrefWindow.focus();  else {    var modality = modal ? "yes" : "no";    var resizability = resizable ? "yes" : "no";    var features = "chrome,titlebar,modal=" + modality + ",resizable=" + resizability;    openDialog("chrome://communicator/content/pref/pref.xul","PrefWindow",                features, paneURL, containerID, itemID);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/f85e3a429ad41b736ad1ba8aeb7a7e194e787beb/utilityOverlay.js/buggy/suite/common/utilityOverlay.js