On Mon, Mar 17, 2014 at 10:25 AM, Benjamin Smedberg
<benja...@smedbergs.us>wrote:

> Maybe this means we should consider exposing some kind of structured-clone
> system for calling untrusted code, plus a safer way to call functions which
> may return arbitrary results?
>

This actually already exists. Cu.exportFunction (also see Cu.cloneInto).

Gabor, do we have docs for them anywhere on MDN? If not, can you coordinate
with the docs team to make that happen?
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to