On 5/20/14, 2:23 PM, Bobby Holley wrote:
In XPConnect, we have "using namespace JS" everywhere. This is pretty important, because the JS rooting/handle API is very cumbersome to use otherwise.
Note that if every file in a directory has the same "using namespace" declarations, then there is no problem with unified builds: the leaking "using namespace" bits only leak across to code that was using that namespace anyway.
So I don't think this is an issue for XPConnect. Just like I don't think it's an issue to have "using namespace mozilla::dom" in DOM code.
-Boris _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

