WebAssembly.Module
is [Serializable] except *forStorage*
#18908
Labels
bug
Something isn't working correctly
WebAssembly.Module
is [Serializable] except *forStorage*
#18908
Deno KV can store [Serializable] values.
WebAssembly.Module
is [Serializable], but it is only supposed to be used forpostMessage
and is not allowed to be stored in storage.https://webassembly.github.io/spec/web-api/index.html#serialization
So the following code should throw a
DataCloneError
.And apparently, when I try to restart Deno and retrieve the value, I get a
RangeError
.The text was updated successfully, but these errors were encountered: