In order to avoid over/under-counting, we need to treat window.print() specially. The new UI was using aOpenWindowInfo.isForPrintPreview for that, but that doesn't quite work for the old UI (because it will trigger a regular print, not a preview). But since isForPrintPreview was only really needed to distinguish window.print(), just rename it and set it to true when the old UI is triggered by window.print() as well. Differential Revision: https://phabricator.services.mozilla.com/D92925