https://searchfox.org/mozilla-central/rev/799c3f49233257bd5e899c4107f65ea394b7ae96/js/xpconnect/idl/nsIXPConnect.idl#232
I need to find a way to wrap the object I created. It does not seem like it is done manually.
Do we need to always wrap it?
Reading this https://searchfox.org/mozilla-central/rev/799c3f49233257bd5e899c4107f65ea394b7ae96/js/xpconnect/src/xpcprivate.h#8-64 and I have a few questions TODO include a diagram
nsIClassInfo why not make all C++ classes implement this interface, so that JS consumers don’t have to call QueryInterface.