Bug 173159
Summary: | WebAssembly: error types shouldn't have context when used by users directly | ||
---|---|---|---|
Product: | WebKit | Reporter: | JF Bastien <jfbastien> |
Component: | JavaScriptCore | Assignee: | 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 |
JF Bastien
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
JF Bastien
This is in spec test jsapi.js