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

Re-factor the ObjectLoader._walk method to be properly asynchronous #11304

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

Rather than having to store a PromiseCapability on the ObjectLoader instances, we can simply convert _walk to be async and thus have the same functionality with native JavaScript instead.

Rather than having to store a `PromiseCapability` on the `ObjectLoader` instances, we can simply convert `_walk` to be `async` and thus have the same functionality with native JavaScript instead.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Nov 3, 2019

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/706486a0db70c45/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 3, 2019

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/679a321874ddd3b/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Nov 3, 2019

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/706486a0db70c45/output.txt

Total script time: 18.61 mins

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

@pdfjsbot
Copy link

pdfjsbot commented Nov 3, 2019

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/679a321874ddd3b/output.txt

Total script time: 26.49 mins

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

@timvandermeij timvandermeij merged commit de77d66 into mozilla:master Nov 3, 2019
@timvandermeij
Copy link
Contributor

Nice improvement!

@Snuffleupagus Snuffleupagus deleted the ObjectLoader-async-_walk branch November 3, 2019 22:25
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