LibWeb: Add [Clamp] extended attribute to WebSocket.close

This commit is contained in:
Jamie Mansfield 2024-08-24 12:14:22 +01:00 committed by Andreas Kling
parent f02ca0c431
commit b583aec3ac
Notes: github-actions[bot] 2024-08-24 12:53:19 +00:00

View File

@ -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;