/cc @lars-t-hansen @bradnelson
The spec currently does not describe transferringcloning SharedArrayBuffers. I believe some relevant content might be in https://tc39.github.io/ecmascript_sharedmem/shmem.html#WebBrowserEmbedding and need upstreaming, although that doesn't seem comprehensive. I also recall discussions previously about whether or not it should be in the transfer list, but I can't find them right now. (I think the answer was it shouldn't, because we don't detach it.)
I think this mainly involves modifying StructuredClone. I'm happy to work on this but I want to be sure I found all the background material written so far, and I don't think I have :).
/cc @lars-t-hansen @bradnelson
The spec currently does not describe
transferringcloning SharedArrayBuffers. I believe some relevant content might be in https://tc39.github.io/ecmascript_sharedmem/shmem.html#WebBrowserEmbedding and need upstreaming, although that doesn't seem comprehensive. I also recall discussions previously about whether or not it should be in the transfer list, but I can't find them right now. (I think the answer was it shouldn't, because we don't detach it.)I think this mainly involves modifying StructuredClone. I'm happy to work on this but I want to be sure I found all the background material written so far, and I don't think I have :).