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
Structured cloning of WebAssembly.Memory is not defined #2155
Just to clarify, this is only serializing/deserializing shared WebAssembly.Memory right? I don't think Gecko supports doing that for unshared memories. You could make a copy of the underlying ArrayBuffer if you want, but it's not transferable.
Technically the threads proposal hasn't merged yet, and so shared memory isn't defined here yet. I looked upstream though and it is missing a definition for this in the specification there.
At least Gecko and WebKit support serializing & deserializing
WebAssembly.Memoryobjects. Yet https://webassembly.github.io/spec/web-api/#serialization only coversWebAssembly.Module.I also couldn't find test coverage for this on WPT.