rem: browserURL = parent.hPrefWindow.pref.CopyCharPref("browser.chromeURL"); 
add: var prefs = Components.classes["@mozilla.org/preferences;1"]; if (prefs) { prefs = prefs.getService(); if (prefs) prefs = prefs.QueryInterface(Components.interfaces.nsIPref); } if (prefs) { var url = prefs.CopyCharPref("browser.chromeURL"); if (url) browserURL = url; } 
context: function moreInfo(){  var browserURL = null;  var regionBundle = document.getElementById("bundle_region");  var smartBrowsingURL = regionBundle.getString("smartBrowsingURL");  if (smartBrowsingURL) {    try {      browserURL = parent.hPrefWindow.pref.CopyCharPref("browser.chromeURL");    } catch(e) {    }    if (browserURL == null)      browserURL = "chrome://navigator/content/navigator.xul";    window.openDialog( browserURL, "_blank", "chrome,all,dialog=no", smartBrowsingURL );  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/44e3612a0c7c4f2c99ee9d43a1e6a8ea520bab28/pref-smart_browsing.js/buggy/suite/common/pref/pref-smart_browsing.js