Summary
test-http-upgrade-server fails with:
TypeError: Object prototype may only be an Object or null
Something on the HTTP upgrade path sets up a prototype chain with an invalid (non-object, non-null) [[Prototype]] — e.g. Object.create(x) / Object.setPrototypeOf / class-extends where x resolved to a primitive or undefined. Find which upgrade-handshake object gets a bad prototype operand.
Acceptance
test-http-upgrade-server no longer throws; the upgrade path builds valid prototype chains.
Found re-measuring #2132's corpus on main. Distinct bug split out of the behavioral tail.
Summary
test-http-upgrade-serverfails with:Something on the HTTP upgrade path sets up a prototype chain with an invalid (non-object, non-null)
[[Prototype]]— e.g.Object.create(x)/Object.setPrototypeOf/ class-extends wherexresolved to a primitive orundefined. Find which upgrade-handshake object gets a bad prototype operand.Acceptance
test-http-upgrade-serverno longer throws; the upgrade path builds valid prototype chains.Found re-measuring #2132's corpus on
main. Distinct bug split out of the behavioral tail.