rem: _content.print(gPrintSettings, false); 
add: _content.printWithSettings(gPrintSettings); 
context: function BrowserPrint(){  try {    var pref = Components.classes["@mozilla.org/preferences-service;1"]                         .getService(Components.interfaces.nsIPrefBranch);    if (pref) {      gUseGlobalPrintSettings = pref.getBoolPref("print.use_global_printsettings");    }    var printOptionsService = Components.classes["@mozilla.org/gfx/printoptions;1"]                                             .getService(Components.interfaces.nsIPrintOptions);    if (gPrintSettings == null) {      gPrintSettings = printOptionsService.CreatePrintSettings();    }    // if we are using the global settings then get them     // before calling print    if (gUseGlobalPrintSettings) {      gPrintSettings = printOptionsService.printSettingsValues;    }    // using _content.print() until printing becomes scriptable on docShell    _content.print(gPrintSettings, false);    // now set our setting into the global settings    // after the changes were made    if (gUseGlobalPrintSettings) {      printOptionsService.printSettingsValues = gPrintSettings;    }  } catch (e) {    // Pressing cancel is expressed as an NS_ERROR_ABORT return value,    // causing an exception to be thrown which we catch here.    // Unfortunately this will also consume helpful failures, so add a    // dump(e); // if you need to debug  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/416f7b7c3b0dfeaec5eae78c760a4c800b973c4c/browser.js/buggy/suite/browser/browser.js