When compiling a module synchronously, v8 will throw if the source buffer is larger than some threshold. This is a new feature added in https://codereview.chromium.org/2699843003/
The error is "Wasm compilation exceeds internal limits in this context for the provided arguments" which is extremely uninformative. When I got this error in Canary yesterday I had no idea what the problem might be until I happened across the codereview link by Googling for the message.
We should make this more informative, perhaps: "Module is too large for synchronous compile. Use WebAssembly.instantiate() instead."
Comment 1 by bugdroid1@chromium.org
, Mar 1 2017