From 08310c5e2f4ae883a5e86e66ab7eb859208760dc Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 21 Aug 2025 12:35:53 +0200 Subject: [PATCH] Editorial: fix cross-references in js-api. --- document/js-api/index.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/document/js-api/index.bs b/document/js-api/index.bs index 7d172c81c5..9b4ec32021 100644 --- a/document/js-api/index.bs +++ b/document/js-api/index.bs @@ -25,7 +25,7 @@ Date: now "status": "Draft" }, "WASMWEB": { - "href": "https://webassembly.github.io/spec/js-api/", + "href": "https://webassembly.github.io/spec/web-api/", "title": "WebAssembly Web API Specification", "publisher": "W3C WebAssembly Community Group", "status": "Draft" @@ -446,9 +446,9 @@ A {{Module}} object represents a single WebAssembly module. Each {{Module}} obje 1. If |v| [=implements=] {{Global}}, 1. Let |globaladdr| be |v|.\[[Global]]. 1. Otherwise, - 1. If |valtype| is [=i64=] and [=Type=](|v|) is not BigInt, + 1. If |valtype| is [=i64=] and |v| [=is not a BigInt=], 1. Throw a {{LinkError}} exception. - 1. If |valtype| is one of [=i32=], [=f32=] or [=f64=] and [=Type=](|v|) is not Number, + 1. If |valtype| is one of [=i32=], [=f32=] or [=f64=] and |v| [=is not a Number=], 1. Throw a {{LinkError}} exception. 1. If |valtype| is [=v128=], 1. Throw a {{LinkError}} exception.