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,