-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Set returnValues.suggestedLength to Content-Length if integer #10133
Conversation
Looks good. Could you squash the commits into one for review? Refer to https://github.com/mozilla/pdf.js/wiki/Squashing-Commits for how to do that easily if you're not familiar with the process. |
What about the final point from #9103 (comment), is that not necessary after all?
|
I believe the |
9df05c2
to
cf54d7a
Compare
@Rob--W Time permitting, would you be willing to review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good in general. The defaultValues
variable in the test is now used only once, and it would make more sense to replace that only use with the value itself.
cf54d7a
to
4cf10ac
Compare
Done. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change. This is good to merge if the tests pass.
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/e1a315c8925abcf/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.215.176.217:8877/4389d3f37ae906b/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/e1a315c8925abcf/output.txt Total script time: 19.58 mins
|
From: Bot.io (Windows)FailedFull output at http://54.215.176.217:8877/4389d3f37ae906b/output.txt Total script time: 23.97 mins
Image differences available at: http://54.215.176.217:8877/4389d3f37ae906b/reftest-analyzer.html#web=eq.log |
/botio-windows fonttest |
From: Bot.io (Windows)ReceivedCommand cmd_fonttest from @timvandermeij received. Current queue size: 0 Live output at: http://54.215.176.217:8877/1145fa4cfe6ddd7/output.txt |
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/1145fa4cfe6ddd7/output.txt Total script time: 2.82 mins
|
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/2ebf18b0b05d201/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/2ebf18b0b05d201/output.txt Total script time: 2.86 mins Published |
Thank you! |
Fixes #9103 by setting
returnValues.suggestedLength
to the value ofContent-Length
(provided it is an integer) even if returning early.