This repository was archived by the owner on Dec 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Merge remote-tracking branch spec/,master #57
Merged
Merged
Conversation
This file contains hidden or 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
…ion parameters (#552) * Do not spread potentially big arrays as function parameters. Some engines have a limit to the number of arguments functions can have and there is no limit to the size of a section. * CR Fix
Also, remove module instructions and module threads.
The current tests allowed an implementation to either assume an else block to be reachable, or inherit the reachability from it's parent (which would be wrong). This adds more tests for different control instructions in unreachable code.
* Add MIME type * Add link for Media Type
In particular, this ensures that the [[ArrayBufferDetachKey]] slot is always set (fixes #855).
* Import jsapi tests from WPT. * Add LICENSE file to ensure compatibility with WPT. * Improve bad-imports.js. Add documentation and use the correct argument in one set of tests. * Support subdirectories of test/js-api in build.py.
Notes the goals of #879 Also change the name of the grow_memory instruction to memory.grow
The spec says that a data/element segment are required to have a `0` for the memory/table index, but they can be written using a long encoding, like `0x80 0x00`.
JS/Web specs use mutable lists as a common data structure, whereas the WebAssembly core specification uses a logical (immutable) sequence data structure. This patch explicitly converts from a list to a sequence to reduce ambiguity.
Fixed: function "br_if2" doesn't actually use `br_if`
into {memory,load,store}.wast, to match the convention of having one file per construct.
It is a validation error if the function section is present, and has a non-zero count, and the code section is missing. However, if either section has a zero count, then the other section may be absent.
The directories built by the build.py script aren't checked in in the repository, so don't try to link to them.
* Rename {get,set,tee}_{local,global} to {local,global}.{get,set,tee}
* Rename anyfunc to funcref
* Rename conversion operators
Was probably copied from `WebAssembly.Table` tests.
The only test there was for IndexedDB integration, which the specification doesn't allow. Future tests for the Web API will land directly in web-platform-tests.
Member
|
rubberstamp lgtm |
Collaborator
Author
|
Addressing: #56 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updating this repo with latest spec master.