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

Move the maybeValidDimensions check, used with JPEG images, to occur earlier (PR 11523 follow-up) #11847

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Apr 26, 2020

Given that the NativeImageDecoder.{isSupported, isDecodable} methods require both dictionary lookups and ColorSpace parsing, in hindsight it actually seems more reasonable to the JpegStream.maybeValidDimensions checks first.

…r earlier (PR 11523 follow-up)

Given that the `NativeImageDecoder.{isSupported, isDecodable}` methods require both dictionary lookups *and* ColorSpace parsing, in hindsight it actually seems more reasonable to the `JpegStream.maybeValidDimensions` checks *first*.
@Snuffleupagus Snuffleupagus force-pushed the move-maybeValidDimensions branch from bdb0577 to 911c33f Compare April 26, 2020 10:08
@Snuffleupagus Snuffleupagus changed the title Move the maybeValidDimension check, used with JPEG images, to occur earlier (PR 11523 follow-up) Move the maybeValidDimensions check, used with JPEG images, to occur earlier (PR 11523 follow-up) Apr 26, 2020
@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/a4551179b28cfac/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/3461d0422d0d678/output.txt

@pdfjsbot
Copy link

From: Bot.io (Windows)


Failed

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

Total script time: 25.01 mins

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

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

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/3461d0422d0d678/output.txt

Total script time: 60.00 mins

@timvandermeij timvandermeij merged commit bf416db into mozilla:master Apr 26, 2020
@timvandermeij
Copy link
Contributor

Good idea!

@Snuffleupagus Snuffleupagus deleted the move-maybeValidDimensions branch April 26, 2020 12:47
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