5e43ffa5451b522e8dfbb0a28d00ab90e0551b11
lib.mjs gains a node:net WebSocket client (frames, opcodes, masked sends, a close handshake that mirrors a browser) so the harness can send what the global WebSocket cannot: oversize, binary, unmasked, bad-opcode and garbage frames, and read Ping/Pong and the empty close frame. wsUrl/rawUpgrade now carry the required proto query. withserver.mjs gains the GM-server helpers (gm-key, withGmServer, signIn, openAs) that auth.test.mjs used to keep privately, so both harnesses share one copy. protocol.test.mjs is the protocol group of DESIGN 13 M3: hello/n, catalogue types, proto, unknown type and ignored fields, exactly one ack per reqId, unnamed player, malformed + binary frames, the flood close, the intent bucket, the 64 KB boundary, unmasked/bad opcode, server Ping and Pong, the connection cap, and closing-then-1005. auth.test.mjs now also asserts the closing reason on eviction and revocation.
Description
No description provided
9.2 MiB
Languages
JavaScript
38.4%
Nim
38.3%
TypeScript
20.9%
Shell
1.9%
CSS
0.5%