WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
181439
WebAssembly exported functions are named incorrectly
https://bugs.webkit.org/show_bug.cgi?id=181439
Summary
WebAssembly exported functions are named incorrectly
Daniel Ehrenberg
Reported
2018-01-09 09:57:11 PST
The WebAssembly JS API specifies that the `name` property of exported function objects is the index where they are initially defined. For host functions, this is the index where they were imported. In running a test [1] in JSC, it seems that ordinary WebAssembly functions are given the name "" and functions which are based on a host function are given the name of that host function. On the other hand, V8 and SpiderMonkey both use index-based names. [1]
https://github.com/WebAssembly/spec/pull/644
Attachments
Add attachment
proposed patch, testcase, etc.
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