Fetch with integrity
option fails on "TypeError: response.arrayBuffer is not a function"
#1594
Labels
Milestone
Version
18.4.0
Platform
Darwin MPB16.local 21.6.0 Darwin Kernel Version 21.6.0: Sat Jun 18 17:07:25 PDT 2022; root:xnu-8020.140.41~1/RELEASE_X86_64 x86_64
Subsystem
fetch
What steps will reproduce the bug?
Using
fetch()
with theintegrity
option seems to consistently fail, throwing from an internal library function.Simplest example I could come up with:
How often does it reproduce? Is there a required condition?
Seems to be consistent. Without the
integrity
option for the request, it succeeds. But with it, it throws. I have not tried it with different hosts.What is the expected behavior?
The above script retuning and printing the Response object instead of throwing.
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: