Corpus position 4203/4708: js/web/websocket/websocket-accept-header-validation.test.ts.
Home must validate the RFC 6455 Sec-WebSocket-Accept response before opening the client, preserve partial handshake reads, and expose actionable structured failures rather than generic connection strings.
Acceptance criteria:
- unchanged upstream file passes 2/2
- no failed, todo, unsupported, or allowed-empty classification
- invalid or missing accept values dispatch the original Error through ErrorEvent
- failures retain code, operation, phase, expected/actual accept values, status line, cause, and composed stack context
- permanent regression covers both valid and invalid handshakes
Implementation: d0cbd31.