Skip to content

Test traps from start function; check JS Error classes#360

Merged
rossberg merged 1 commit intobinary-0xcfrom
start
Oct 17, 2016
Merged

Test traps from start function; check JS Error classes#360
rossberg merged 1 commit intobinary-0xcfrom
start

Conversation

@rossberg
Copy link
Member

Noticed that there was no test for traps from module instantiation. Added a new form of assert_trap taking a module definition.

Also refined JS translation to check that the correct exceptions are thrown.

@gahaas
Copy link
Collaborator

gahaas commented Oct 17, 2016

lgtm

@rossberg rossberg merged commit 81ff5b4 into binary-0xc Oct 17, 2016
@rossberg rossberg deleted the start branch October 17, 2016 13:56
ngzhian added a commit to ngzhian/spec that referenced this pull request Nov 4, 2021
dhil pushed a commit to dhil/webassembly-spec that referenced this pull request Nov 13, 2023
The new limits were previously merged in WebAssembly#360, but apparently that PR was to
another branch that itself was never merged. Reland that change with two
additional fixes:

 - Add digit separators in the numbers to improve readability and match the
   formatting of other limits.

 - Add an explicit limit of 1,000,000 types per recursion group. This is not
   intended to be a functional change, but this limit was previously left
   implicit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants