On 1/20/13 2:37 PM, Gregory Szorc wrote:
* Have all or most of chrome-privileged JS share the same compartment (like on B2G). It's my understanding the CPG decision was largely driven by content/security requirements and chrome just got caught up in it.
What's not clear to me is whether this is a proposal to keep separate globals per JSM but have them all in one compartment or whether this is a proposal to have a single global for all JSMs, or all JSMs that opt into having this single global or something.
The latter is much simpler to do.
* Eliminate excessive copying and other perf issues associated with sending objects across compartments.
This would be a good idea, yes.
* Allow JSMs to be imported into specific named compartments.
As might this be. -Boris _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform