[Webkit-unassigned] [Bug 181439] New: WebAssembly exported functions are named incorrectly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Jan 9 09:57:11 PST 2018
https://bugs.webkit.org/show_bug.cgi?id=181439
Bug ID: 181439
Summary: WebAssembly exported functions are named incorrectly
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebAssembly
Assignee: webkit-unassigned at lists.webkit.org
Reporter: littledan at chromium.org
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180109/6c749d44/attachment.html>
More information about the webkit-unassigned
mailing list