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 globalScope and isNodeJS to proper modules #11316

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Slightly unrelated to the rest of the patch, but this also removes an out-of-place globals definition from the web/viewer.js file.

src/shared/is_node.js Outdated Show resolved Hide resolved
Slightly unrelated to the rest of the patch, but this also removes an out-of-place `globals` definition from the `web/viewer.js` file.
Given that this shouldn't change after the `pdf.js`/`pdf.worker.js` files have been loaded, it doesn't seems necessary to keep this as a function.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@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/1d8f9e1b94e766b/output.txt

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

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

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

Total script time: 18.53 mins

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

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/1d8f9e1b94e766b/output.txt

Total script time: 26.38 mins

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

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

@timvandermeij timvandermeij merged commit 21895aa into mozilla:master Nov 10, 2019
@timvandermeij
Copy link
Contributor

Looks better like this. Thanks!

@Snuffleupagus Snuffleupagus deleted the globalScope-isNodeJS-modules branch November 10, 2019 19:08
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