Skip to content
Open
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
6 changes: 6 additions & 0 deletions features/wasm-branch-hinting.yml
Original file line number Diff line number Diff line change
@@ -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
13 changes: 13 additions & 0 deletions features/wasm-branch-hinting.yml.dist
Original file line number Diff line number Diff line change
@@ -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
5 changes: 4 additions & 1 deletion scripts/specs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down