[Webkit-unassigned] [Bug 277608] New: [JSC] Supports Type Reflection for `WebAssembly.Module.imports` and `WebAssembly.Module.exports`
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 4 09:28:44 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=277608
Bug ID: 277608
Summary: [JSC] Supports Type Reflection for
`WebAssembly.Module.imports` and
`WebAssembly.Module.exports`
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aosukeke at gmail.com
The current JSC implements part of the WebAssembly Type Reflection proposal[1]. It allows to get
type informations through methods like `WebAssembly.Memory.prototype.type()` and
`WebAssembly.Table.prototype.type()`.
The Type Reflection API should also add a new `type` field to the elements of the arrays returned by
`WebAssembly.Module.imports` and `WebAssembly.Module.exports`[2]. However, this feature is not
currently implemented in JSC. This feature has been implemented to V8[3] and SpiderMonkey[4].
[1]: https://github.com/WebAssembly/js-types
[2]: https://webassembly.github.io/js-types/js-api/#modules
[3]: https://chromium-review.googlesource.com/c/v8/v8/+/1763527
[4]: https://hg.mozilla.org/mozilla-central/rev/91e0c6d26de8ba365ec3d462f98d28c75055a89b
--
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/20240804/84ffd5f1/attachment-0001.htm>
More information about the webkit-unassigned
mailing list