Is there a bug on file to replace privileged code calling Cu.cloneInto() with a dummy scope/sandbox argument (ie using that as a cheap way to do a structured clone) and similar workarounds with this standards-based one? And in what release cycle would it be safe to start using this in privileged code? (we normally wait a cycle or two, I think)

~ Gijs

On 01/10/2021 10:00, Tom Schuster wrote:
(Sorry for not sending this earlier)

Summary: The structuredClone function directly exposes the structured
cloning mechanism to allow (deep) cloning of values/objects.

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1722576

Standard: https://html.spec.whatwg.org/#structured-cloning

Platform coverage: All

Preference: None

DevTools bug: N/A

Other browsers: Not yet in any other browser.

web-platform-tests:
https://github.com/web-platform-tests/wpt/tree/master/html/webappapis/structured-clone


--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/bbadc5ce-023f-3b80-3636-e03ed31d84cc%40mozilla.com.

Reply via email to