diff --git a/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl b/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl index 2ecef757841..be8a93049de 100644 --- a/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl +++ b/Userland/Libraries/LibWeb/WebSockets/WebSocket.idl @@ -24,7 +24,7 @@ interface WebSocket : EventTarget { attribute EventHandler onclose; readonly attribute DOMString extensions; readonly attribute DOMString protocol; - undefined close(optional unsigned short code, optional USVString reason); + undefined close(optional [Clamp] unsigned short code, optional USVString reason); // messaging attribute EventHandler onmessage;