diff options
Diffstat (limited to 'ext/websocket/01_websocket.js')
-rw-r--r-- | ext/websocket/01_websocket.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/websocket/01_websocket.js b/ext/websocket/01_websocket.js index 60580a56c..c55685ac9 100644 --- a/ext/websocket/01_websocket.js +++ b/ext/websocket/01_websocket.js @@ -627,15 +627,19 @@ class WebSocket extends EventTarget { ObjectDefineProperties(WebSocket, { CONNECTING: { + __proto__: null, value: 0, }, OPEN: { + __proto__: null, value: 1, }, CLOSING: { + __proto__: null, value: 2, }, CLOSED: { + __proto__: null, value: 3, }, }); |