On Jan 1, 2015, at 10:31 PM, Bobby Holley <[email protected]> wrote: > > It indicates the GC region that the sandbox will be placed in. It has no > effect on correctness, but memory usage will be better if globals which die > at the same time are allocated in the same zone. This is why content > scripts pass the window they run against for "sameZoneAs" - both the > content and the content script will get cleaned up at the same time.
I've added a bit to https://developer.mozilla.org/en-US/docs/Components.utils.Sandbox#Sandbox_options to cover this option. I see there are other not-yet-documented options, too, but I didn't get into them. Eric Shepherd Developer Documentation Lead Mozilla http://www.bitstampede.com/ _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

