-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Implement PDFNetworkStreamRangeRequestReader._onError
, to handle range request errors with XMLHttpRequest (issue 9883)
#13945
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
Conversation
/botio unittest |
a442a08
to
46203f2
Compare
Also changes the different `_onDone`/`_onProgress` methods to use consistent parameter names, and some other small improvements.
…nge request errors with XMLHttpRequest (issue 9883) Given that the Fetch API is normally being used now, these changes are probably less important now than they used to be. However, given that it's simple enough to implement this I figured why not just fix issue 9883 (better late than never I suppose).
46203f2
to
1f56451
Compare
/botio unittest |
From: Bot.io (Linux m4)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/bafbf206afcfa08/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_unittest from @Snuffleupagus received. Current queue size: 0 Live output at: http://3.101.106.178:8877/65505656d06bb21/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/bafbf206afcfa08/output.txt Total script time: 3.99 mins
|
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/65505656d06bb21/output.txt Total script time: 5.43 mins
|
Thanks! |
Use optional chaining more in the
src/display/network.js
fileAlso changes the different
_onDone
/_onProgress
methods to use consistent parameter names, and some other small improvements.Implement
PDFNetworkStreamRangeRequestReader._onError
, to handle range request errors with XMLHttpRequest (issue 9883)Given that the Fetch API is normally being used now, these changes are probably less important now than they used to be. However, given that it's simple enough to implement this I figured why not just fix issue Unhandled range-request errors #9883 (better late than never I suppose).
Fixes #9883