Skip to content

Commit

Permalink
polyfill: fetch: disable Arraybuffer usage
Browse files Browse the repository at this point in the history
  • Loading branch information
krichprollsch committed Nov 29, 2024
1 parent cfe8ac6 commit 6757fba
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/polyfill/fetch.zig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@ pub const source =
\\ }
\\ })(),
\\ formData: 'FormData' in g,
\\ arrayBuffer: 'ArrayBuffer' in g
\\

// Arraybuffer is available but xhr doesn't implement it for now.
//\\ arrayBuffer: 'ArrayBuffer' in g
\\ arrayBuffer: false
//

\\ };
\\
\\ function isDataView(obj) {
Expand Down

0 comments on commit 6757fba

Please sign in to comment.