Skip to content

Conversation

@ConnorBerghoffer
Copy link

The mergeHeaders function was passing undefined directly to new Headers() which crashes in Chrome 49 and other legacy browsers that don't support that syntax. Now defaults to empty object when input is undefined, matching the fix from #235.

Fixes #493

The mergeHeaders function was passing undefined directly to new Headers() which crashes in Chrome 49 and other legacy browsers that don't support that syntax. Now defaults to empty object when input is undefined, matching the fix from unjs#235.

Fixes unjs#493
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in legacy browsers on new Headers(undefined)

1 participant