I tried to use a simple wrapper object in a namespace, and that pretty much was the only thing i changed. But seamingly, it caused my extension to stop working: I get NS_ERROR_XPC_BAD_IID now.
I now see a mozilla guideline suggesting not to use them for portability reasons. Is it just portability, or could it cause the code that otherwise works on the platform not to work? In other words, will an extension using a namespaced object work on any platform? P.S. I assume c++ compiler on Linux is smart enough to know about namespaces, and that's what i built it with. Thanks.
signature.asc
Description: This is a digitally signed message part
