Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more wasm features #2403

Merged
merged 5 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion features/wasm-exception-handling.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Exception handling (WebAssembly)
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.
spec: https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
spec: https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/legacy/Exceptions.md
group: webassembly
status:
compute_from: webassembly.api.Exception
Expand Down
6 changes: 6 additions & 0 deletions features/wasm-exnref-exceptions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Exception references with exnref (WebAssembly)
description: When caught, an exception is reified into an exception reference, a value of the new type `exnref`.
spec: https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/Exceptions.md
group: webassembly
compat_features:
- webassembly.exceptionsFinal
10 changes: 10 additions & 0 deletions features/wasm-exnref-exceptions.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Generated from: wasm-exnref-exceptions.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
firefox: "131"
firefox_android: "131"
compat_features:
- webassembly.exceptionsFinal
6 changes: 6 additions & 0 deletions features/wasm-memory64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Memory64 (WebAssembly)
description: Instructions accept 64-bit memory indexes.
spec: https://github.com/WebAssembly/memory64/blob/main/proposals/memory64/Overview.md
group: webassembly
compat_features:
- webassembly.memory64
8 changes: 8 additions & 0 deletions features/wasm-memory64.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated from: wasm-memory64.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
compat_features:
- webassembly.memory64
6 changes: 6 additions & 0 deletions features/wasm-string-builtins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: String builtins (WebAssembly)
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.
spec: https://github.com/WebAssembly/js-string-builtins/blob/main/proposals/js-string-builtins/Overview.md
group: webassembly
compat_features:
- webassembly.jsStringBuiltins
10 changes: 10 additions & 0 deletions features/wasm-string-builtins.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Generated from: wasm-string-builtins.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "130"
edge: "130"
compat_features:
- webassembly.jsStringBuiltins
6 changes: 6 additions & 0 deletions features/wasm-typed-fun-refs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: Typed function references (WebAssembly)
description: A typed function reference can be called directly.
spec: https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md
group: webassembly
compat_features:
- webassembly.typedFunctionReferences
16 changes: 16 additions & 0 deletions features/wasm-typed-fun-refs.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Generated from: wasm-typed-fun-refs.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: low
baseline_low_date: 2024-09-16
support:
chrome: "119"
chrome_android: "119"
edge: "119"
firefox: "120"
firefox_android: "120"
safari: "18"
safari_ios: "18"
compat_features:
- webassembly.typedFunctionReferences
16 changes: 16 additions & 0 deletions scripts/specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@ const defaultAllowlist: allowlistItem[] = [
[
"https://github.com/WebAssembly/threads/blob/main/proposals/threads/Overview.md",
"Allowed because there is no other specification to link to."
],
[
"https://github.com/WebAssembly/function-references/blob/main/proposals/function-references/Overview.md",
"Allowed because there is no other specification to link to."
],
[
"https://github.com/WebAssembly/js-string-builtins/blob/main/proposals/js-string-builtins/Overview.md",
"Allowed because there is no other specification to link to."
],
[
"https://github.com/WebAssembly/memory64/blob/main/proposals/memory64/Overview.md",
"Allowed because there is no other specification to link to."
],
[
"https://github.com/WebAssembly/exception-handling/blob/main/proposals/exception-handling/legacy/Exceptions.md",
"Allowed because there is no other specification to link to."
]
];

Expand Down
Loading