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

Convert the PDFDocumentProperties class to use private methods #14678

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Given that none of these methods were ever intended to be accessed directly from the outside, we can use modern ECMAScript features to ensure that they are indeed private.

This patch also makes fieldData private, to remove the old hack used to prevent it from being modified from the outside.

Given that none of these methods were ever intended to be accessed directly from the outside, we can use modern ECMAScript features to ensure that they are indeed private.

This patch also makes `fieldData` private, to remove the old hack used to prevent it from being modified from the outside.
@Snuffleupagus Snuffleupagus force-pushed the PDFDocumentProperties-private branch from 68080b0 to ba8dae6 Compare March 15, 2022 17:19
@Snuffleupagus
Copy link
Collaborator Author

/botio 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.241.84.105:8877/73f1f5f2b64dd36/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Received

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

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

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/73f1f5f2b64dd36/output.txt

Total script time: 0.00 mins

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

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

Total script time: 0.44 mins

@timvandermeij timvandermeij merged commit 00eb942 into mozilla:master Mar 16, 2022
@timvandermeij
Copy link
Contributor

Looks good!

@Snuffleupagus Snuffleupagus deleted the PDFDocumentProperties-private branch March 16, 2022 21:34
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