Skip to content

Enable scripting by default in the development viewer; remove the standalone acroforms example #13053

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

Merged
merged 2 commits into from
Mar 5, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

  • Enable scripting by default in the development viewer

    Given that scripting is now enabled in Firefox Nightly (but only there), it seems weird to not have scripting enabled by default in gulp server mode.

  • Remove the standalone acroforms example

    At this point in time the standalone acroforms example is no longer needed, since both the simpleviewer and singlepageviewer examples already support AcroForms by default.
    Moreover, the acroforms example no longer illustrate best practices, given the direct usage of PDFPageView for a multipage document.

Given that scripting is now enabled in Firefox Nightly (but only there), it seems weird to not have scripting enabled by default in `gulp server` mode.
At this point in time the standalone `acroforms` example is no longer needed, since both the `simpleviewer` and `singlepageviewer` examples already support AcroForms by default.
Moreover, the `acroforms` example no longer illustrate best practices, given the direct usage of `PDFPageView` for a multipage document.
@Snuffleupagus
Copy link
Collaborator Author

Please note: The simpleviewer/singlepageviewer examples will be updated in PR #13042 to mention both AcroForms and scripting support

@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

pdfjsbot commented Mar 5, 2021

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/899221cc213ff2f/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 5, 2021

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/899221cc213ff2f/output.txt

Total script time: 4.09 mins

Published

@timvandermeij timvandermeij merged commit 583d77a into mozilla:master Mar 5, 2021
@timvandermeij
Copy link
Contributor

Looks good!

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