mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-03 04:52:54 +00:00

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
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff