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

Remove the unused skipCount parameter from Catalog.getPageDict (PR 14311 follow-up) #14325

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

  • Remove the unused skipCount parameter from Catalog.getPageDict (PR 14311 follow-up)

    This was added in PR [api-minor] Validate the /Pages-tree /Count entry during document initialization (issue 14303) #14311, but given that I completely missed to update the PDFDocument.getPage signature accordingly it's completely unused.
    Given that things work just as fine as-is, let's simply remove that optional parameter for now; sorry about the churn here!

  • Slightly extend the "creates pdf doc from PDF file with bad XRef table" unit-test (PR 14304 follow-up)

    Given that we're able to "render" this document, let's extend the unit-test to actually check that we're able to obtain the operatorList; although given the overall issues in the document it'll be empty.

…R 14311 follow-up)

This was added in PR 14311, but given that I completely missed to update the `PDFDocument.getPage` signature accordingly it's completely unused.
Given that things work just as fine as-is, let's simply remove that optional parameter for now; sorry about the churn here!
…e" unit-test (PR 14304 follow-up)

Given that we're able to "render" this document, let's extend the unit-test to actually check that we're able to obtain the operatorList; although given the overall issues in the document it'll be empty.
@pdfjsbot
Copy link

pdfjsbot commented Dec 2, 2021

From: Bot.io (Linux m4)


Received

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

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

@pdfjsbot
Copy link

pdfjsbot commented Dec 2, 2021

From: Bot.io (Windows)


Received

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

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

@mozilla mozilla deleted a comment from pdfjsbot Dec 2, 2021
@mozilla mozilla deleted a comment from pdfjsbot Dec 2, 2021
@mozilla mozilla deleted a comment from pdfjsbot Dec 2, 2021
@mozilla mozilla deleted a comment from pdfjsbot Dec 2, 2021
@pdfjsbot
Copy link

pdfjsbot commented Dec 2, 2021

From: Bot.io (Linux m4)


Failed

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

Total script time: 21.78 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: FAILED
  • Regression tests: FAILED
  different ref/snapshot: 6

Image differences available at: http://54.241.84.105:8877/c6aec3e1fef3a6b/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Dec 2, 2021

From: Bot.io (Windows)


Failed

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

Total script time: 41.90 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 10
  different first/second rendering: 1

Image differences available at: http://54.193.163.58:8877/b20a88c4cb64dcd/reftest-analyzer.html#web=eq.log

@Snuffleupagus
Copy link
Collaborator Author

@calixteman If you've got time, mind reviewing (or basically rubber-stamping) these changes?
I've got other changes planned, in order to fix a regression I introduced recently, and I'd like to get this one landed first; thank you!

Copy link
Contributor

@calixteman calixteman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@Snuffleupagus Snuffleupagus merged commit f61b74e into mozilla:master Dec 2, 2021
@Snuffleupagus Snuffleupagus deleted the getPageDict-rm-skipCount branch December 2, 2021 12:17
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