Re: [dev-servo] DOM rooting is live

2014-05-07 Thread Josh Matthews
In the worst case, you have a GC hazard that is conceivably exploitable if the stars are in alignment. Cheers, Josh On 05/06/2014 08:08 PM, Keegan McAllister wrote: From js.rs: /// A rooted, JS-owned value. Must only be used as a field in other JS-owned types. pub struct JS { Wha

Re: [dev-servo] DOM rooting is live

2014-05-07 Thread Patrick Walton
On 5/7/14 11:16 AM, Josh Matthews wrote: In the worst case, you have a GC hazard that is conceivably exploitable if the stars are in alignment. How would you create a `JS` on the stack? I would think that they aren't cloneable and the constructor for them is appropriately private. Patrick _