You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When embedded in the web, clarify how export/import names convert to JS strings #569
When embedded in the web, the exports and imports of a module are represented as JS objects. JS objects are keyed by JS strings, which can be any UCS16 (roughly) sequence. WebAssembly uses sequences of bytes. Therefore, we need to specify conversion rules from WebAssembly byte sequence names to JS strings. There will be JS strings that don't convert gracefully to bytes and vice-versa, so we also need something sensible to happen when the conversion fails.
Activity
titzer commentedon Feb 29, 2016
SGTM, wanna take a stab at updating Web.md?
jfbastien commentedon Feb 29, 2016
Do we want simple failure on the web when conversion fails, or do we want to try to "fix" things? Failure is fine IMO.
pizlonator commentedon Feb 29, 2016
Yup!
-Filip
pizlonator commentedon Feb 29, 2016
I was thinking eager failure at module compile time.
-Filip
When embedded in the web, clarify how export/import names convert to …
clarify how export/import names convert to JS strings (#569) (#573)
Extensible encoding of function signatures (#640)
Extensible encoding of function signatures (#640)
merge binary_0xb (#675)
s3ththompson commentedon Jul 26, 2016
Fixed in 04c63fb