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

A couple of small image caching/sending improvements #11974

Merged
merged 2 commits into from
Jun 7, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

…ImageCache.getData`

We can simply attempt to get the data *directly*, and instead check the result, rather than first checking if it exists.
…uildPaintImageXObject` method

After PRs 10727 and 11912, the code responsible for sending the decoded image data to the main-thread has now become a fair bit more involved the previously.
To reduce the amount of duplication here, the actual code responsible for sending the data is thus extracted into a new helper method instead.
@timvandermeij
Copy link
Contributor

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/9ed9bf9ce425330/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/810f4968c17b5df/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/9ed9bf9ce425330/output.txt

Total script time: 25.68 mins

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

Image differences available at: http://54.67.70.0:8877/9ed9bf9ce425330/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/810f4968c17b5df/output.txt

Total script time: 29.87 mins

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

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

@timvandermeij timvandermeij merged commit c97200f into mozilla:master Jun 7, 2020
@timvandermeij
Copy link
Contributor

Thanks!

/botio makeref (in the hope to remove some failures)

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.67.70.0:8877/b511c817545adf4/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Windows)


Received

Command cmd_makeref from @timvandermeij received. Current queue size: 1

Live output at: http://54.215.176.217:8877/d1a2cb04726ef98/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Linux m4)


Success

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

Total script time: 23.90 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/d1a2cb04726ef98/output.txt

Total script time: 26.06 mins

  • Lint: Passed
  • Make references: Passed
  • Check references: Passed

@Snuffleupagus Snuffleupagus deleted the sendImgData branch June 7, 2020 12:43
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