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 enableScripting option from the PDFPageView constructor #13209

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Scripting, as implemented, requires access to a complete document/viewer in order to work. Hence it doesn't really make sense to keep the enableScripting-option on PDFPageView-instances.[1]


[1] Note that there's the PDFSinglePageViewer, which can be used in cases where you want access to all features/functionality of the viewer but only display one page at a time.

Scripting, as implemented, requires access to a complete document/viewer in order to work. Hence it doesn't really make sense to keep the `enableScripting`-option on `PDFPageView`-instances.[1]

---
[1] Note that there's the `PDFSinglePageViewer`, which can be used in cases where you want access to all features/functionality of the viewer but only display *one* page at a time.
@Snuffleupagus
Copy link
Collaborator Author

/botio integrationtest

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2021

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/7f53a392f6d3bab/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2021

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/0f192882def4982/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/7f53a392f6d3bab/output.txt

Total script time: 3.44 mins

  • Integration Tests: FAILED

@pdfjsbot
Copy link

pdfjsbot commented Apr 9, 2021

From: Bot.io (Windows)


Success

Full output at http://3.101.106.178:8877/0f192882def4982/output.txt

Total script time: 5.67 mins

  • Integration Tests: Passed

@timvandermeij timvandermeij merged commit 0ae5a6e into mozilla:master Apr 9, 2021
@timvandermeij
Copy link
Contributor

Looks good to me; thanks!

@Snuffleupagus Snuffleupagus deleted the rm-PDFPageView-enableScripting branch April 9, 2021 19:01
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.

None yet

3 participants