Skip to content

Commit 024e273

Browse files
Ms2gerbinji
authored andcommitted
[js-api] Remove incorrect note about object caching. (#1036)
Fixes #985.
1 parent b568df7 commit 024e273

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

document/js-api/index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,8 @@ Elements of the WebAssembly store may be <dfn>identified with</dfn> JavaScript v
227227

228228
<h3 id="object-caches">WebAssembly JS Object Caches</h3>
229229

230-
Note: There are several WebAssembly objects that may have a corresponding JavaScript object. The correspondence is stored in a per-agent mapping from WebAssembly [=address=]es to JavaScript objects. This mapping is used to ensure that, for a given [=agent=], there exists at most one JavaScript object for a particular WebAssembly address.
230+
Note: There are several WebAssembly objects that may have a corresponding JavaScript object. The correspondence is stored in a per-agent mapping from WebAssembly [=address=]es to JavaScript objects.
231+
This mapping is used to ensure that, for a given [=agent=], there exists at most one JavaScript object for a particular WebAssembly address. However, this property does not hold for shared objects.
231232

232233
Each [=agent=] is associated with the following [=ordered map=]s:
233234
* The <dfn>Memory object cache</dfn>, mapping [=memory address=]es to {{Memory}} objects.

0 commit comments

Comments
 (0)