Re: [dev-servo] Safe abstractions for unique handles

2013-07-16 Thread Keegan McAllister
Subject: Re: [dev-servo] Safe abstractions for unique handles On Tue, Jul 16, 2013 at 11:37 AM, Patrick Walton pwal...@mozilla.comwrote: Right, that's been on our mind as well. We try to use channels and ports wherever we can. In general channels and ports are better than IDs in every way

Re: [dev-servo] Safe abstractions for unique handles

2013-07-15 Thread Patrick Walton
On 7/15/13 4:32 PM, Robert O'Callahan wrote: A minor random thought related to that design: Using integer IDs, as Gecko does, raises the possibility of a bug, possibly even a security bug, where a rogue IFRAME is able to render itself at the wrong place in the tree. In Gecko, preventing a