diff --git a/features/wasm-branch-hinting.yml b/features/wasm-branch-hinting.yml new file mode 100644 index 00000000000..308ee1856df --- /dev/null +++ b/features/wasm-branch-hinting.yml @@ -0,0 +1,6 @@ +name: Branch hinting (WebAssembly) +description: Branch hints in WebAssembly allows a browser to optimize performance when a branch is a likely to take a specific path. +spec: https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md +group: webassembly +compat_features: + - webassembly.branch-hinting diff --git a/features/wasm-branch-hinting.yml.dist b/features/wasm-branch-hinting.yml.dist new file mode 100644 index 00000000000..c15d3d8b7eb --- /dev/null +++ b/features/wasm-branch-hinting.yml.dist @@ -0,0 +1,13 @@ +# Generated from: wasm-branch-hinting.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: + chrome: "137" + chrome_android: "137" + edge: "137" + safari: "16" + safari_ios: "16" +compat_features: + - webassembly.branch-hinting diff --git a/scripts/specs.ts b/scripts/specs.ts index 24636225b91..e4328bbc8c8 100644 --- a/scripts/specs.ts +++ b/scripts/specs.ts @@ -157,8 +157,11 @@ const defaultAllowlist: allowlistItem[] = [ [ "https://github.com/w3c/manifest/pull/1175", "Allowed because there is no spec yet for Web Install." + ], + [ + "https://github.com/WebAssembly/branch-hinting/blob/main/proposals/branch-hinting/Overview.md", + "Allowed because there is no other specification to link to." ] - ]; function isOK(url: URL, allowlist: allowlistItem[] = defaultAllowlist) {