Bug 173159

Summary: WebAssembly: error types shouldn't have context when used by users directly
Product: WebKit Reporter: JF Bastien <jfbastien>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: fpizlo, jfbastien, keith_miller, mark.lam, msaboff, saam
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 173287    
Bug Blocks: 161709    

Description JF Bastien 2017-06-09 07:35:04 PDT
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.
Comment 1 JF Bastien 2017-06-09 13:24:15 PDT
This is in spec test jsapi.js