You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: document/js-api/index.bs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1207,7 +1207,7 @@ Note: ECMAScript doesn't specify any sort of behavior on out-of-memory condition
1207
1207
1208
1208
The WebAssembly core specification allows an implementation to define limits on the syntactic structure of the module.
1209
1209
While each embedding of WebAssembly may choose to define its own limits, for predictability the standard WebAssembly JavaScript Interface described in this document defines the following exact limits.
1210
-
An implementation must reject a module that exceeds one of the following limits with a {{CompileError}}:
1210
+
An implementation must reject a module that exceeds one of the following limits with a {{CompileError}}.
1211
1211
In practice, an implementation may run out of resources for valid modules below these limits.
1212
1212
1213
1213
<ul>
@@ -1222,7 +1222,7 @@ In practice, an implementation may run out of resources for valid modules below
1222
1222
<li>The maximum number of tables, including declared or imported tables, is 100000.</li>
1223
1223
<li>The maximum size of a table is 10000000.</li>
1224
1224
<li>The maximum number of table entries in any table initialization is 10000000.</li>
1225
-
<li>The maximum number of memories, including defined and imported memories, is 1.</li>
1225
+
<li>The maximum number of memories, including defined and imported memories, is 100.</li>
1226
1226
1227
1227
<li>The maximum number of parameters to any function or block is 1000.</li>
1228
1228
<li>The maximum number of return values for any function or block is 1000.</li>
0 commit comments