On 12/5/13 9:05 AM, Josh Matthews wrote:
In my mind, the biggest improvement here is that we can actually have
lists of JSManaged<Element>, whereas before we could only store
~[AbstractNode] with the handwave-y guarantee that all of the nodes
should also be elements. I also find the new checked casts much nicer to
read (and yes, the downcasts assert at runtime if the value passed is
not an instance of the desired type).

This is great stuff, thanks. Have you given thought to how the rooting API would work? That's one of the last major pieces to making the Servo DOM type- and memory-safe.

Patrick

_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to