@@ -993,7 +993,7 @@ This slot holds a [=function address=] relative to the [=surrounding agent=]'s [
993993 1. For each type |t| of |parameters|,
994994 1. If the length of |argValues| > |i|, let |arg| be |argValues|[|i|] .
995995 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|.
997997 1. Set |i| to |i| + 1.
998998 1. Let |argsSeq| be a WebAssembly [=sequence=] containing the elements of |args|.
999999 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
10601060</div>
10611061
10621062<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:
10641064
10651065
106610661. Assert: |type| is not [=𝗂𝟨𝟦=] .
@@ -1077,9 +1077,9 @@ The algorithm <dfn>ToWebAssemblyValue</dfn>(|v|, |type|, |error|) coerces a Java
107710771. If |type| is [=anyref=] ,
10781078 1. Do nothing.
107910791. 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}} .
108110811. If |type| is [=nullref=] ,
1082- 1. If |v| is not null, throw |error| .
1082+ 1. If |v| is not null, throw a {{TypeError}} .
108310831. Return the result of [=allocating a host address=] for |v|.
10841084
10851085</div>
0 commit comments