Upstream coverage
js/web/fetch/cookies.test.ts(corpus position 4122)
Current gap
Appending multiple Cookie header values currently joins them with a comma. Cookie request fields must be combined with ; , so the first failing assertion receives FOO=... , BAR=... instead of Bun's semicolon-delimited value.
Required parity
- combine repeated Cookie request values with
;rather than, - preserve ordinary Fetch Headers combination semantics for non-cookie fields
- keep Set-Cookie response values independently enumerable where required
- maintain original header-name behavior and Node/Fetch bridge interoperability
- surface invalid cookie/header operations with stable structured Home errors and useful stacks
- add a focused regression and pin the upstream file in the permanent web queue
This is the next ordered step after #349.