@@ -993,7 +993,7 @@ This slot holds a [=function address=] relative to the [=surrounding agent=]'s [
993
993
1. For each type |t| of |parameters|,
994
994
1. If the length of |argValues| > |i|, let |arg| be |argValues|[|i|] .
995
995
1. Otherwise, let |arg| be undefined.
996
- 1. [=list/Append=] [=ToWebAssemblyValue=] (|arg|, |t|, {{TypeError}} ) to |args|.
996
+ 1. [=list/Append=] [=ToWebAssemblyValue=] (|arg|, |t|) to |args|.
997
997
1. Set |i| to |i| + 1.
998
998
1. Let |argsSeq| be a WebAssembly [=sequence=] containing the elements of |args|.
999
999
1. Let (|store|, |ret|) be the result of [=func_invoke=] (|store|, |funcaddr|, |argsSeq|).
@@ -1060,7 +1060,7 @@ Note: Number values which are equal to NaN may have various observable NaN paylo
1060
1060
</div>
1061
1061
1062
1062
<div algorithm>
1063
- The algorithm <dfn>ToWebAssemblyValue</dfn> (|v|, |type|, |error| ) coerces a JavaScript value to a [=WebAssembly value=] performs the following steps:
1063
+ The algorithm <dfn>ToWebAssemblyValue</dfn> (|v|, |type|) coerces a JavaScript value to a [=WebAssembly value=] performs the following steps:
1064
1064
1065
1065
1066
1066
1. Assert: |type| is not [=𝗂𝟨𝟦=] .
@@ -1077,9 +1077,9 @@ The algorithm <dfn>ToWebAssemblyValue</dfn>(|v|, |type|, |error|) coerces a Java
1077
1077
1. If |type| is [=anyref=] ,
1078
1078
1. Do nothing.
1079
1079
1. If |type| is [=funcref=] ,
1080
- 1. If |v| is not an [=Exported function=] or null, throw |error| .
1080
+ 1. If |v| is not an [=Exported function=] or null, throw a {{TypeError}} .
1081
1081
1. If |type| is [=nullref=] ,
1082
- 1. If |v| is not null, throw |error| .
1082
+ 1. If |v| is not null, throw a {{TypeError}} .
1083
1083
1. Return the result of [=allocating a host address=] for |v|.
1084
1084
1085
1085
</div>
0 commit comments