Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slightly modernize print-related code #16288

Merged
merged 2 commits into from
Apr 15, 2023

Conversation

Snuffleupagus
Copy link
Collaborator

  • Slightly modernize the print layout-methods

    By getting the width/height of the first page initially, we can slightly reduce the amount of code needed both in the hasEqualPageSizes-check and when building the print-styles.

  • Convert FirefoxPrintService and PDFPrintService into standard classes

    Note that both of the affected files are old enough to predate the general availability of class.

By getting the width/height of the first page initially, we can slightly reduce the amount of code needed both in the `hasEqualPageSizes`-check and when building the print-styles.
…sses

Note that both of the affected files are old enough to predate the general availability of `class`.
@Snuffleupagus
Copy link
Collaborator Author

/botio integrationtest

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.241.84.105:8877/c3080fa119c02c1/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.193.163.58:8877/ad3ba27c59a4b0d/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/c3080fa119c02c1/output.txt

Total script time: 4.71 mins

  • Integration Tests: FAILED

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/ad3ba27c59a4b0d/output.txt

Total script time: 12.65 mins

  • Integration Tests: FAILED

@timvandermeij timvandermeij merged commit 4d8a60b into mozilla:master Apr 15, 2023
@timvandermeij
Copy link
Contributor

Thank you!

@Snuffleupagus Snuffleupagus deleted the print-code-cleanup branch April 15, 2023 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants