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

When stopAtErrors is set, throw rather than warn when exceeding maxImageSize (issue 14626) #14628

Merged
merged 1 commit into from
Mar 5, 2022

Conversation

Snuffleupagus
Copy link
Collaborator

The situation described in issue #14626 seems like a fairly special case, and it thus seem reasonable that we simply follow the same pattern as elsewhere in the PartialEvaluator when the stopAtErrors API-option is being used.

…xImageSize` (issue 14626)

The situation described in issue 14626 seems like a fairly special case, and it thus seem reasonable that we simply follow the same pattern as elsewhere in the `PartialEvaluator` when the `stopAtErrors` API-option is being used.
@Snuffleupagus
Copy link
Collaborator Author

/botio unittest

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2022

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/d8e8c49559bab25/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2022

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/e340a02eca2e7e5/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2022

From: Bot.io (Linux m4)


Success

Full output at http://54.241.84.105:8877/d8e8c49559bab25/output.txt

Total script time: 3.05 mins

  • Unit Tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Mar 3, 2022

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/e340a02eca2e7e5/output.txt

Total script time: 6.19 mins

  • Unit Tests: Passed

@timvandermeij timvandermeij merged commit 5242c38 into mozilla:master Mar 5, 2022
@timvandermeij
Copy link
Contributor

Thanks!

@Snuffleupagus Snuffleupagus deleted the issue-14626 branch March 5, 2022 12:34
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.

When image is bigger than maxImageSize, it should throw an error instead of warning
3 participants