-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Start using Response.prototype.bytes() in the code-base
#20651
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
base: master
Are you sure you want to change the base?
Conversation
In all cases where we currently use `Response.prototype.arrayBuffer()` the result is immediately wrapped in a `Uint8Array`, which can be avoided by instead using the newer `Response.prototype.bytes()` method; see https://developer.mozilla.org/en-US/docs/Web/API/Response/bytes
…unction After the previous patch there's no longer any call-site using that type.
|
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/4dcb5353aadad9a/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.193.163.58:8877/5ec1fcbb48cb860/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/4dcb5353aadad9a/output.txt Total script time: 60.00 mins |
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/5ec1fcbb48cb860/output.txt Total script time: 83.46 mins
Image differences available at: http://54.193.163.58:8877/5ec1fcbb48cb860/reftest-analyzer.html#web=eq.log |
|
/botio-linux test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 0 Live output at: http://54.241.84.105:8877/e0d57d12799c17a/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/e0d57d12799c17a/output.txt Total script time: 60.00 mins |
timvandermeij
left a comment
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 to me; thanks!
|
/botio-linux test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.241.84.105:8877/f59cf6dc97c193d/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.241.84.105:8877/f59cf6dc97c193d/output.txt Total script time: 41.40 mins
Image differences available at: http://54.241.84.105:8877/f59cf6dc97c193d/reftest-analyzer.html#web=eq.log |
In all cases where we currently use
Response.prototype.arrayBuffer()the result is immediately wrapped in aUint8Array, which can be avoided by instead using the newerResponse.prototype.bytes()method; see https://developer.mozilla.org/en-US/docs/Web/API/Response/bytes