Tim ran into this in bug 1184439. You can't freeze an XrayWrapper, and we don't want people to have to waive and then iterate on the waiver freezing stuff. We can solve this easily with an API on Cu.cloneInto.
2 years ago
Created attachment 8636820 [details] [diff] [review] Add an API to deep-freeze the result of Cu.cloneInto. v1
Tim: Assuming there are no major review nits, feel free to push this on my behalf while I'm on PTO.