PrintUtils.printPreview(enterPPCallback, exitPPCallback) where the optional callback functions are called just before entering and after exiting PP mode
- disable all short keys in PP mode except ctrl-W and fix bug 178485 and bug 215277. Now clicking the close window icon actually closes the window.
- global vars gPrintSettingsAreGlobal, gSavePrintSettings, gPrintSettings, gOldCloseHandler, gInPrintPreviewMode, gWebProgress are removed.
- A lot of cleanup.
Clean up in utilityOverlay.js
- in goToggleToolbar: use of properties instead of attributes
- in getBrowserURL: don't use 'browser.chrome' pref.
Some dependency work in bookmarksManager.xul. More to be done.