mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 19:08:15 +00:00
fix(runtime): use more null proto objects again (#25040)
proceed with #23921 This PR is a preparation for https://github.com/denoland/deno_lint/pull/1307 --------- Signed-off-by: Kenta Moriuchi <moriken@kimamass.com> Co-authored-by: Luca Casonato <hello@lcas.dev>
This commit is contained in:
parent
8ef08f1d29
commit
f0a3d20642
34 changed files with 144 additions and 20 deletions
|
@ -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,
|
||||
},
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue