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

Introduce a "thumbnailrendered" event to simplify cleanup after thumbnail rendering (PR 12613 follow-up) #16470

Merged
merged 1 commit into from
May 28, 2023

Conversation

Snuffleupagus
Copy link
Collaborator

The way that the cleanup was implemented in PR #12613 has always bothered me slightly, since the isPageCached-method that I introduced there always felt quite out-of-place in the IPDFLinkService-implementations.
By introducing a new "thumbnailrendered" event, similar to the existing "pagerendered" one, we're able to move the cleanup handling into the PDFViewer-class instead.

@mozilla mozilla deleted a comment from moz-tools-bot May 26, 2023
@mozilla mozilla deleted a comment from moz-tools-bot May 26, 2023
@mozilla mozilla deleted a comment from moz-tools-bot May 26, 2023
@mozilla mozilla deleted a comment from moz-tools-bot May 26, 2023
@mozilla mozilla deleted a comment from moz-tools-bot May 26, 2023
@mozilla mozilla deleted a comment from moz-tools-bot May 26, 2023
…nail rendering (PR 12613 follow-up)

The way that the cleanup was implemented in PR 12613 has always bothered me slightly, since the `isPageCached`-method that I introduced there always felt quite out-of-place in the `IPDFLinkService`-implementations.
By introducing a new "thumbnailrendered" event, similar to the existing "pagerendered" one, we're able to move the cleanup handling into the `PDFViewer`-class instead.
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/77db3d7e65ae36b/output.txt

@moz-tools-bot
Copy link
Collaborator

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/780596ead742b56/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/780596ead742b56/output.txt

Total script time: 3.62 mins

  • Integration Tests: Passed

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/77db3d7e65ae36b/output.txt

Total script time: 15.57 mins

  • Integration Tests: FAILED

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/53218d32585b947/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/53218d32585b947/output.txt

Total script time: 1.29 mins

Published

@timvandermeij timvandermeij merged commit 60feb2d into mozilla:master May 28, 2023
@timvandermeij
Copy link
Contributor

Looks good!

@Snuffleupagus Snuffleupagus deleted the thumbnailrendered-event branch May 28, 2023 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants