WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
173159
WebAssembly: error types shouldn't have context when used by users directly
https://bugs.webkit.org/show_bug.cgi?id=173159
Summary
WebAssembly: error types shouldn't have context when used by users directly
JF Bastien
Reported
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.
Attachments
Add attachment
proposed patch, testcase, etc.
JF Bastien
Comment 1
2017-06-09 13:24:15 PDT
This is in spec test jsapi.js
Sergey Rubanov
Comment 2
2026-07-30 07:48:48 PDT
User-constructed Wasm errors keep the provided message: new WebAssembly.CompileError("hi").message === "hi" // true same for LinkError / RuntimeError. Resolving FIXED.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug