rem: webBrowserPrint.printPreview(gPrintSettings); 
add: webBrowserPrint.printPreview(gPrintSettings, null); 
context: function BrowserPrintSetup(){  var didOK = false;  try {    var ifreq = _content.QueryInterface(Components.interfaces.nsIInterfaceRequestor);    var webBrowserPrint = ifreq.getInterface(Components.interfaces.nsIWebBrowserPrint);         if (webBrowserPrint) {      gPrintSettings = GetPrintSettings(webBrowserPrint);    }    didOK = goPageSetup(window, gPrintSettings);  // from utilityOverlay.js    if (didOK) {  // from utilityOverlay.js      if (webBrowserPrint) {        if (gPrintSettingsAreGlobal && gSavePrintSettings) {          webBrowserPrint.savePrintSettingsToPrefs(gPrintSettings, false, gPrintSettings.kInitSaveNativeData);        }        if (webBrowserPrint.doingPrintPreview) {          webBrowserPrint.printPreview(gPrintSettings);        }      }    }  } catch (e) {    dump("BrowserPrintSetup "+e);  }  return didOK;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b50858b05cc04d51321d4c051a1b63b3cb56ceef/browser.js/buggy/suite/browser/browser.js