I'm not sure if this is the right place to report, but the demo on Glitch linked to from https://developer.chrome.com/docs/capabilities/web-apis/websocketstream does
const { ... } = await wss.connection;
while the correct API seems to be
const { ... } = await wss.opened;