This is a super useless feature: assert_equals(new CompileError("hi").message, "hi"); Discussed: https://github.com/WebAssembly/spec/issues/501 So let's remove context when user generated, and kept otherwise. This is very low priority.
This is in spec test jsapi.js