WebTransport draining
- Category
- Network / Connectivity
- Type
- Chromium catches up
- Status
- Proposed (Chrome Proposed)
- Intent stage
- None
WPT details: https://wpt.fyi/results/webtransport/draining.https.any.html?label=experimental&label=master&aligned
Summary
WebTransport.draining is a promise that resolves when the server indicates that the WebTransport session will be gracefully retired. Applications can use this signal to establish a replacement session while existing streams and the current session remain usable.
Motivation
A WebTransport server may need to retire a session for maintenance, load balancing, deployment, or connection-lifetime management. Without a draining signal, an application learns about this only when the session closes, which can cause an avoidable interruption while a replacement connection is established. The draining promise gives the application advance notice without changing the lifetime or usability of the current session.
Standards & signals
- Specification: https://w3c.github.io/webtransport/#dom-webtransport-draining
- Firefox: Shipped/Shipping — WebTransport.draining shipped in Firefox 155 - https://chromium.googlesource.com/external/github.com/mdn/browser-compat-data/%2B/HEAD/api/WebTransport.json#804
- Safari: Shipped/Shipping — WebTransport.draining is available in Safari 26.4 - https://chromium.googlesource.com/external/github.com/mdn/browser-compat-data/%2B/HEAD/api/WebTransport.json#811
- Web developers: Positive — The Interop 2026 WebTransport proposal received 28 positive reactions. Developers also reported active WebTransport use and significant cross-engine differences.
- Tracking bug: https://issues.chromium.org/issues/564353368
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=webtransport%2Fdraining
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+WebTransport%20draining
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=WebTransport%20draining
- Baseline status: https://webstatus.dev/?q=WebTransport%20draining
Docs: https://github.com/w3c/webtransport/blob/main/explainer.md#11-handling-session-draining
Explainers: https://github.com/w3c/webtransport/blob/main/explainer.md#11-handling-session-draining