From 3e8437c047d55d12ea82f19caab0878ecad84336 Mon Sep 17 00:00:00 2001 From: Anna Sato Date: Mon, 13 Apr 2026 08:06:30 +0000 Subject: [PATCH] Introduce WebSocket context cleanup steps --- index.bs | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/index.bs b/index.bs index df69553..88c58d8 100644 --- a/index.bs +++ b/index.bs @@ -797,6 +797,25 @@ the following list: +
+ +If a user agent is to run the context cleanup steps given a {{WebSocket}} object, +the user agent must follow the first appropriate set of steps from the following list: + +
+ +
+ + : If the WebSocket connection is not yet [=established=] or the WebSocket closing handshake has + not yet been started [[!WSP]] + :: [=Fail the WebSocket connection=]. [[!WSP]] + : Otherwise + :: Do nothing. + +
+ +
+

Acknowledgments

Until the creation of this standard in 2021, the text here was maintained in the