From 6f63d739ab51f81fc32071693ce124a14d5b7fb0 Mon Sep 17 00:00:00 2001 From: Feng Yu Date: Sat, 21 Aug 2021 11:07:30 +0800 Subject: [PATCH] fiz(ext/fetch): Headers constructor error message (#11778) --- ext/fetch/20_headers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/fetch/20_headers.js b/ext/fetch/20_headers.js index 91154d9588..7503029d85 100644 --- a/ext/fetch/20_headers.js +++ b/ext/fetch/20_headers.js @@ -244,7 +244,7 @@ /** @param {HeadersInit} [init] */ constructor(init = undefined) { - const prefix = "Failed to construct 'Event'"; + const prefix = "Failed to construct 'Headers'"; if (init !== undefined) { init = webidl.converters["HeadersInit"](init, { prefix,