forked from innative-sdk/spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JS API spec text (WebAssembly#116)
In the overview, the `Memory.buffer` getter only creates a new `SharedArrayBuffer` when the lengths don't match. In the JS spec, there is a Memory object cache which is unconditionally updated with the most recent memory object and its length after every grow operation. So I think it makes sense to specify that the `buffer` getter always accesses this cache, since it is simpler (and unobservable, I think).
- Loading branch information
Showing
1 changed file
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters