From 6046342a20d0035d8e64887da2133bb20601f86a Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 6 Jul 2022 17:33:32 +0530 Subject: [PATCH] perf(ext/http): skip `core.isProxy` check for default ResponseInit (#15077) --- ext/fetch/23_response.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fetch/23_response.js b/ext/fetch/23_response.js index 8d87944b65..226a751bd1 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,