On 4/23/13 11:18 AM, Ehsan Akhgari wrote:
Does this also apply to code holding on to JSObject*s?

If you're holding them on the heap... sigh. Just trace them and use fromMarkedLocation as needed; there is nothing better at the moment. You can't use JS::Rooted on the heap.

Can the stuff in objdir/dom/bindings be fixed whole-sale by changing the
WebIDL codegen?

Yes, and it's being done. See https://bugzilla.mozilla.org/show_bug.cgi?id=864727 and https://bugzilla.mozilla.org/show_bug.cgi?id=861022 which cover most of it.

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

Reply via email to