mirror of
https://github.com/denoland/deno
synced 2024-09-19 16:12:30 +00:00
perf(ext/http): skip core.isProxy
check for default ResponseInit (#15077)
This commit is contained in:
parent
04061f9f39
commit
6046342a20
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue