Chrome Dev Summit 2018 is happening now and streaming live on YouTube. Watch now.

WebSockets updated to latest version in Chrome Canary

The WebSocket API has been rev'd to the latest version (13) in Chrome Canary. The developer-facing changes are very small, but are incompatible with the older version.

Here's the scoop:

  • Change the origin header name: Sec-WebSocket-Origin -> Origin
  • Sec-WebSocket-Version header value: 8 -> 13