Skip to content

Commit b60f37f

Browse files
Elchi3ddbeck
andauthored
Add more wasm features (#2403)
* Add more wasm features * Apply suggestions from code review Co-authored-by: Daniel D. Beck <[email protected]> * Update features/wasm-string-builtins.yml Co-authored-by: Daniel D. Beck <[email protected]> * npm run dist --------- Co-authored-by: Daniel D. Beck <[email protected]>
1 parent 4039d32 commit b60f37f

10 files changed

+85
-1
lines changed

features/wasm-exception-handling.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Exception handling (WebAssembly)
22
description: Exceptions break the normal control flow of execution to represent exceptional behavior, such as an error. You can respond to the exception in JavaScript code.
3-
spec: https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
3+
spec: https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/legacy/Exceptions.md
44
group: webassembly
55
status:
66
compute_from: webassembly.api.Exception
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Exception references with exnref (WebAssembly)
2+
description: When caught, an exception is reified into an exception reference, a value of the new type `exnref`.
3+
spec: https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
4+
group: webassembly
5+
compat_features:
6+
- webassembly.exceptionsFinal
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Generated from: wasm-exnref-exceptions.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
firefox: "131"
8+
firefox_android: "131"
9+
compat_features:
10+
- webassembly.exceptionsFinal

features/wasm-memory64.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Memory64 (WebAssembly)
2+
description: Instructions accept 64-bit memory indexes.
3+
spec: https://github.com/WebAssembly/memory64/blob/main/proposals/memory64/Overview.md
4+
group: webassembly
5+
compat_features:
6+
- webassembly.memory64

features/wasm-memory64.yml.dist

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Generated from: wasm-memory64.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support: {}
7+
compat_features:
8+
- webassembly.memory64

features/wasm-string-builtins.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: String builtins (WebAssembly)
2+
description: The WebAssembly builtin string functions mirror a subset of the JavaScript `String` API and adapt it to be efficiently callable without JavaScript glue code.
3+
spec: https://github.com/WebAssembly/js-string-builtins/blob/main/proposals/js-string-builtins/Overview.md
4+
group: webassembly
5+
compat_features:
6+
- webassembly.jsStringBuiltins
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Generated from: wasm-string-builtins.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
chrome: "130"
8+
edge: "130"
9+
compat_features:
10+
- webassembly.jsStringBuiltins

features/wasm-typed-fun-refs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
name: Typed function references (WebAssembly)
2+
description: A typed function reference can be called directly.
3+
spec: https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md
4+
group: webassembly
5+
compat_features:
6+
- webassembly.typedFunctionReferences
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Generated from: wasm-typed-fun-refs.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: low
6+
baseline_low_date: 2024-09-16
7+
support:
8+
chrome: "119"
9+
chrome_android: "119"
10+
edge: "119"
11+
firefox: "120"
12+
firefox_android: "120"
13+
safari: "18"
14+
safari_ios: "18"
15+
compat_features:
16+
- webassembly.typedFunctionReferences

scripts/specs.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,22 @@ const defaultAllowlist: allowlistItem[] = [
7676
[
7777
"https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md",
7878
"Allowed because there is no other specification to link to."
79+
],
80+
[
81+
"https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md",
82+
"Allowed because there is no other specification to link to."
83+
],
84+
[
85+
"https://github.com/WebAssembly/js-string-builtins/blob/main/proposals/js-string-builtins/Overview.md",
86+
"Allowed because there is no other specification to link to."
87+
],
88+
[
89+
"https://github.com/WebAssembly/memory64/blob/main/proposals/memory64/Overview.md",
90+
"Allowed because there is no other specification to link to."
91+
],
92+
[
93+
"https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/legacy/Exceptions.md",
94+
"Allowed because there is no other specification to link to."
7995
]
8096
];
8197

0 commit comments

Comments
 (0)