Re: PSA: Compartments will soon contain multiple global objects

2018-12-18 Thread Ehsan Akhgari
This project has been a tremendous amount of effort. It started some time around April last year, I think. This should help fix one of the major cases where Gecko's performance currently can suffer quite a lot compared to other engines on certain pages. Thanks a lot for pushing things through to

PSA: Compartments will soon contain multiple global objects

2018-12-18 Thread Jan de Mooij
The JS engine now supports allocating multiple global objects (also known as "realms") in a single compartment [0]. We are working on using this mechanism for our chrome code (one compartment for most of our system-principal sandboxes [1] and windows [2]). I'm hoping that part will land relatively