On 03/14/2014 11:20 PM, Boris Zbarsky wrote:
We're at a point where we are actively trying to eliminate xpconnect usage on 
the web.

I'm happy to enumerate the reasons we're doing that if people care, but the 
practical upshot is:

1)  Do not add new objects with classinfo to nsDOMClassInfo.cpp unless you've 
explicitly been told it's OK by a DOM peer.

2)  Do not add new JavaScript components with DOM_OBJECT classinfo (period; I 
can't think of reasons this would be needed).

Thanks,
Boris



I think we should add some checks to test_interfaces to enforce this.
(Assuming we can detect xpcom stuff via different kind of prototypes vs. webidl 
implemented stuff)



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

Reply via email to