[web-api] Serialize builtin sets and imported string constants of modules A Module object records the builtins and importedStringConstants compile options in its [[BuiltinSets]] and [[ImportedStringModule]] internal slots, which are read again at instantiation. The serialization steps only carried the module bytes, so a module that was structured cloned or sent with postMessage had neither slot set on the receiving side. Store both slots when serializing and restore them when deserializing, so that a cloned module behaves like the module it was cloned from.
This repository holds the sources for the WebAssembly specification, a reference implementation, and the official test suite.
A formatted version of the spec is available here: webassembly.github.io/spec,
Participation is welcome. Discussions about new features, significant semantic changes, or any specification change likely to generate substantial discussion should take place in the WebAssembly design repository first, so that this spec repository can remain focused. And please follow the guidelines for contributing.
For citing WebAssembly in LaTeX, use this bibtex file.