opened 11:05AM - 25 Oct 21 UTC
We reached consensus on the general idea of taking over maintainership of the stβ¦ructured clone algorithm in the October 2021 TC39, pending a requested review by @erights of the concrete algorithm proposed to be refactored into ecma262.
The two algorithms proposed to be copied are [StructuredSerializeInternal](https://html.spec.whatwg.org/#structuredserializeinternal) and [StructuredDeserialize](https://html.spec.whatwg.org/#structureddeserialize).
For [StructuredSerializeInternal](https://html.spec.whatwg.org/#structuredserializeinternal):
- Steps 19 and 20 will be refactored out, as they deal with non-ES values.
- All occurrences of "throw a "`DataCloneError`" `DOMException`" will be changed to "throw a host-defined exception".
For [StructuredDeserialize](https://html.spec.whatwg.org/#structureddeserialize):
- Step 20 and all its substeps will be refactored out since it deals with non-ES values.
- All occurrences of "throw a "`DataCloneError`" `DOMException`" will be changed to "throw a host-defined exception".