Skip to content
This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Conversation

@arunetm
Copy link
Collaborator

@arunetm arunetm commented Dec 11, 2018

Updating this repo with latest spec master.

athos and others added 30 commits August 31, 2017 10:04
…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.
Ms2ger and others added 27 commits October 12, 2018 10:36
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.
@binji
Copy link
Member

binji commented Dec 11, 2018

rubberstamp lgtm

@arunetm
Copy link
Collaborator Author

arunetm commented Dec 12, 2018

Addressing: #56

@arunetm arunetm merged commit 8fb2dba into WebAssembly:master Dec 12, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.