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

[api-minor] Change the pageIndex, on PDFPageProxy instances, to a private property #11716

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

This property has never been documented and/or intentionally exposed through the API, instead the PDFPageProxy.pageNumber property is the documented/intended API to use here.
Hence pageIndex is changed to a "private" property on PDFPageProxy instances, and internal API functionality is also updated to consistently use this._pageIndex rather than a mix of formats.

…rivate property

This property has never been documented and/or *intentionally* exposed through the API, instead the `PDFPageProxy.pageNumber` property is the documented/intended API to use here.
Hence pageIndex is changed to a "private" property on `PDFPageProxy` instances, and internal API functionality is also updated to *consistently* use `this._pageIndex` rather than a mix of formats.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/01af4ce1db70eb1/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/f59be8b9dfb282e/output.txt

Total script time: 19.84 mins

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

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/01af4ce1db70eb1/output.txt

Total script time: 25.02 mins

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

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

@timvandermeij timvandermeij merged commit 228a591 into mozilla:master Mar 19, 2020
@timvandermeij
Copy link
Contributor

Yes, this makes more sense and indeed, that property should have been private. Thanks for fixing this!

@Snuffleupagus Snuffleupagus deleted the private-PDFPageProxy-pageIndex branch March 19, 2020 21:49
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