Bug 173159 - WebAssembly: error types shouldn't have context when used by users directly
Summary: WebAssembly: error types shouldn't have context when used by users directly
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 173287
Blocks: 161709
  Show dependency treegraph
 
Reported: 2017-06-09 07:35 PDT by JF Bastien
Modified: 2017-06-12 16:42 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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