mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 08:39:09 -05:00
fiz(ext/fetch): Headers constructor error message (#11778)
This commit is contained in:
parent
d81128109f
commit
6f63d739ab
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@
|
||||||
|
|
||||||
/** @param {HeadersInit} [init] */
|
/** @param {HeadersInit} [init] */
|
||||||
constructor(init = undefined) {
|
constructor(init = undefined) {
|
||||||
const prefix = "Failed to construct 'Event'";
|
const prefix = "Failed to construct 'Headers'";
|
||||||
if (init !== undefined) {
|
if (init !== undefined) {
|
||||||
init = webidl.converters["HeadersInit"](init, {
|
init = webidl.converters["HeadersInit"](init, {
|
||||||
prefix,
|
prefix,
|
||||||
|
|
Loading…
Reference in a new issue