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

[Regression] Ensure that PDFFindBar.updateResultsCount doesn't throw when the viewer is closed, by providing proper default values #10056

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Sep 10, 2018

The error can be reproduced by opening any file in the viewer, and then running PDFViewerApplication.close() in the console.

/cc @timvandermeij
/cc @rvandermeulen

Edit: Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1489996#c2

…w when the viewer is closed, by providing proper default values

The error can be reproduced by opening any file in the viewer, and then running `PDFViewerApplication.close()` in the console.
@Snuffleupagus
Copy link
Collaborator Author

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/86af4fab7c5a8ff/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/86af4fab7c5a8ff/output.txt

Total script time: 7.65 mins

Published

@timvandermeij timvandermeij merged commit bf368f3 into mozilla:master Sep 10, 2018
@timvandermeij
Copy link
Contributor

I'm not sure how I also missed this during review, but thank you for fixing it so quickly!

@Snuffleupagus Snuffleupagus deleted the matchesCount-viewer-close branch September 11, 2018 08:00
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