diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-07-06 17:33:32 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-06 17:33:32 +0530 |
commit | 6046342a20d0035d8e64887da2133bb20601f86a (patch) | |
tree | 6e3d403b3e42429971c14121f9f93b57143a5899 /ext/fetch/23_response.js | |
parent | 04061f9f3994c471e1e604de5fadaa29d71d5e1e (diff) |
perf(ext/http): skip `core.isProxy` check for default ResponseInit (#15077)
Diffstat (limited to 'ext/fetch/23_response.js')
-rw-r--r-- | ext/fetch/23_response.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fetch/23_response.js b/ext/fetch/23_response.js index 8d87944b6..226a751bd 100644 --- a/ext/fetch/23_response.js +++ b/ext/fetch/23_response.js @@ -298,7 +298,7 @@ * @param {BodyInit | null} body * @param {ResponseInit} init */ - constructor(body = null, init = {}) { + constructor(body = null, init = undefined) { const prefix = "Failed to construct 'Response'"; body = webidl.converters["BodyInit_DOMString?"](body, { prefix, |