The Structured Clone Wars

David Bruant david.bruant at labri.fr
Sun Jul 17 15:21:54 PDT 2011


Le 14/07/2011 21:46, Mark S. Miller a écrit :
> And finally there's the issue raised by David on the es-discuss
> thread: What should the structured clone algorithm do when
> encountering a proxy? The algorithm as coded below will successfully
> "clone" proxies, for some meaning of clone. Is that the clone behavior
> we wish for proxies?
I just wanted to point out that my thread was not about applying the
structured clone algorithm on proxies, but implementing it with proxies
(that the JS engine implements a lazy copy with proxies).
However, it is indeed a very interesting question to ask.

David


More information about the es-discuss mailing list