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

Question:where can i find java-script built-in functions #8108

Closed
jodevsa opened this Issue Feb 24, 2017 · 4 comments

Comments

Projects
None yet
2 participants
@jodevsa

jodevsa commented Feb 24, 2017

Hello,
i'm looking for the definitions of built-in functions like util.printf

@jodevsa jodevsa changed the title from Question:where can i find java script built-in functions to Question:where can i find java-script built-in functions Feb 24, 2017

@timvandermeij

This comment has been minimized.

Show comment
Hide comment
@timvandermeij

timvandermeij Feb 24, 2017

Contributor

There is no printf in PDF.js. I think you are confusing PDF.js with another library. Our utilities are mostly in https://github.com/mozilla/pdf.js/blob/master/src/shared/util.js. Closing as answered.

Contributor

timvandermeij commented Feb 24, 2017

There is no printf in PDF.js. I think you are confusing PDF.js with another library. Our utilities are mostly in https://github.com/mozilla/pdf.js/blob/master/src/shared/util.js. Closing as answered.

@jodevsa

This comment has been minimized.

Show comment
Hide comment
@jodevsa

jodevsa Feb 24, 2017

what i meant is, javascript libraries used by the pdf reader mentioned here:https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf

jodevsa commented Feb 24, 2017

what i meant is, javascript libraries used by the pdf reader mentioned here:https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/js_api_reference.pdf

@timvandermeij

This comment has been minimized.

Show comment
Hide comment
@timvandermeij

timvandermeij Feb 24, 2017

Contributor

PDF.js does not execute any JavaScript embedded in a PDF file for security reasons. The only exception is the print command to initiate printing a document, which is handled separately. Other JS is disabled and so far we do not intend to enable any other JS because of security concerns.

Contributor

timvandermeij commented Feb 24, 2017

PDF.js does not execute any JavaScript embedded in a PDF file for security reasons. The only exception is the print command to initiate printing a document, which is handled separately. Other JS is disabled and so far we do not intend to enable any other JS because of security concerns.

@jodevsa

This comment has been minimized.

Show comment
Hide comment
@jodevsa

jodevsa Feb 24, 2017

thanks alot for clarification .

jodevsa commented Feb 24, 2017

thanks alot for clarification .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment