After building Mozilla on the Mac I am putting together a folder for developing xpcom components and testing them with xpcshell. I've gotten native components to load in xpcshell but not javascript components. Here's the list of total components I needed in my xpcom dev folder to load the native nsSample component shared lib (I did a debug build) :
XPCShellDebug Plug-ins Default Plug-in Essential Files JavaScriptDebug.shlb NSPR20Debug.shlb NSRuntimeDebug.shlb NSStdLibDebug.shlb xpcomDebug.shlb libregDebug.shlb Components sample.xpt SampleDebug.shlb xpcom.xpt xpconnect.xpt XPConnectDebug.shlb In hopes of loading nsSample.js instead of the the native SampleDebug.shlb, I've removed SampleDebug.shlb from components and put nsSample.js in its place so that the Components folder now reads: Components nsSample.js sample.xpt jsconsole-clhandler.js jsdservice.xpt JSLoaderDebug.shlb jsdServiceDebug.shlb xpcom.xpt xpconnect.xpt XPConnectDebug.shlb But I don't get the dumps from registerSelf in nsSample. It looks like I'm missing some key component for loading js components. I'll probably find something via trial and error eventually, but can anyone help?
