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

Handle errors individually for each annotation in the _parsedAnnotations getter #11889

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

While working on PR #11872, it occurred to me that it probably wouldn't be a bad idea to change the _parsedAnnotations getter to handle errors individually for each annotation. This way, one broken/corrupt annotation won't prevent the rest of them from being e.g. fetched through the API.

@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented May 9, 2020

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/26ef446ad999889/output.txt

@pdfjsbot
Copy link

pdfjsbot commented May 9, 2020

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/4910e03c96f9601/output.txt

…ions` getter

While working on PR 11872, it occurred to me that it probably wouldn't be a bad idea to change the `_parsedAnnotations` getter to handle errors individually for each annotation. This way, one broken/corrupt annotation won't prevent the rest of them from being e.g. fetched through the API.
@Snuffleupagus Snuffleupagus force-pushed the _parsedAnnotations-move-catch branch from c2a5c2c to 73636e0 Compare May 9, 2020 10:33
@pdfjsbot
Copy link

pdfjsbot commented May 9, 2020

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/26ef446ad999889/output.txt

Total script time: 25.72 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.67.70.0:8877/26ef446ad999889/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented May 9, 2020

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/4910e03c96f9601/output.txt

Total script time: 29.70 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.215.176.217:8877/4910e03c96f9601/reftest-analyzer.html#web=eq.log

@Snuffleupagus
Copy link
Collaborator Author

/botio-linux test

@pdfjsbot
Copy link

pdfjsbot commented May 9, 2020

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/4bb972b8e77911f/output.txt

@pdfjsbot
Copy link

pdfjsbot commented May 9, 2020

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/4bb972b8e77911f/output.txt

Total script time: 25.79 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: FAILED

Image differences available at: http://54.67.70.0:8877/4bb972b8e77911f/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij merged commit 1ee63dc into mozilla:master May 9, 2020
@timvandermeij
Copy link
Contributor

Looks good; thanks!

@Snuffleupagus Snuffleupagus deleted the _parsedAnnotations-move-catch branch May 9, 2020 22:25
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