> 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?
> 

I already talked about this with Will during the devtools workweek. It's not
there yet. I think the best would be if I wrote a quick sketch and then Will
could quickly turn it into a doc...

Gabor
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to