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

fix: handle SharedArrayBuffer correctly #2466

Merged
merged 10 commits into from
Nov 27, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup
tsctx committed Nov 27, 2023
commit 417cc7ec4a7c0e6907a714194a3910085e070baf
2 changes: 1 addition & 1 deletion test/fetch/response.js
Original file line number Diff line number Diff line change
@@ -253,5 +253,5 @@ test('constructing Response with third party FormData body', async (t) => {
test('Issue#2465', async (t) => {
t.plan(1)
const response = new Response(new SharedArrayBuffer(0))
t.equal(await response.text() === '[object SharedArrayBuffer]')
t.equal(await response.text(), '[object SharedArrayBuffer]')
})