Skip to content

Commit 4a73334

Browse files
authored
Add new ECMAScript additions + dialog closedby (#2148)
* Add new ECMAScript additions + dialog closedby * Fix symbol
1 parent 766b261 commit 4a73334

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

custom/elements.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
},
145145
"del": {"attributes": [{"datetime": "dateTime"}, "cite"]},
146146
"details": {"attributes": ["open"]},
147-
"dialog": {"attributes": ["open"]},
147+
"dialog": {"attributes": ["open", "closedby"]},
148148
"dir": {
149149
"interfaceName": "HTMLDirectoryElement",
150150
"attributes": ["compact", "align"]

custom/js.json

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,20 @@
2121
]
2222
}
2323
},
24+
"AsyncDisposableStack": {
25+
"__comment": "Remove when https://arai-a.github.io/ecma262-compare/?pr=3000 is merged into the main ECMAScript spec.",
26+
"ctor": {},
27+
"members": {
28+
"instance": [
29+
"adopt",
30+
"defer",
31+
"disposeAsync",
32+
"disposed",
33+
"move",
34+
"use"
35+
]
36+
}
37+
},
2438
"Atomics": {
2539
"members": {
2640
"static": ["pause"]
@@ -32,6 +46,13 @@
3246
"instance": ["getFloat16", "setFloat16"]
3347
}
3448
},
49+
"DisposableStack": {
50+
"__comment": "Remove when https://arai-a.github.io/ecma262-compare/?pr=3000 is merged into the main ECMAScript spec.",
51+
"ctor": {},
52+
"members": {
53+
"instance": ["adopt", "defer", "dispose", "disposed", "move", "use"]
54+
}
55+
},
3556
"Error": {
3657
"members": {
3758
"instance": [
@@ -42,7 +63,8 @@
4263
"message",
4364
"name",
4465
"stack"
45-
]
66+
],
67+
"static": ["captureStackTrace", "stackTraceLimit"]
4668
}
4769
},
4870
"Float16Array": {
@@ -56,9 +78,9 @@
5678
"ctor": {}
5779
},
5880
"Math": {
59-
"__comment": "Remove instance member when https://tc39.es/proposal-float16array is merged into the main ECMAScript spec.",
81+
"__comment": "Remove when https://tc39.es/proposal-float16array and/or https://github.com/tc39/proposal-math-sum are merged into the main ECMAScript spec.",
6082
"members": {
61-
"static": ["f16round"]
83+
"static": ["f16round", "sumPrecise"]
6284
}
6385
},
6486
"Promise": {
@@ -84,6 +106,13 @@
84106
"String": {
85107
"members": {"instance": ["contains", "length"]}
86108
},
109+
"SuppressedError": {
110+
"__comment": "Remove when https://arai-a.github.io/ecma262-compare/?pr=3000 is merged into the main ECMAScript spec.",
111+
"ctor": {}
112+
},
113+
"Symbol": {
114+
"members": {"static": ["asyncDispose", "dispose"]}
115+
},
87116
"Uint8Array": {
88117
"__comment": "Remove members when https://tc39.es/proposal-arraybuffer-base64/spec/ is merged into the main ECMAScript spec.",
89118
"members": {

0 commit comments

Comments
 (0)