I am further along now. It turns out that my first XPCOM/XPConnect/JS
monster works fine through
run-mozilla.sh ./xpcshell
Using the shell I can instantiate and successfully poke on my component.
When I say
var x = Components.classes["@blah;1"].createInstance()
it works, as well as the QueryInterface and everything else.
However, when I run Chimera, even using run-mod.sh (which according to
http://books.mozdev.org/chapters/ch08.html), that
Components.classes[].createInstance() line always tells me that the
resulting var "has no properties", and nothing thereafter works
(understandably). This is the same message I get if I change the progID in
that line from the real one to some bogus thing, like "@bogus;1". So I
think it's as if my component isn't being found at all... as if it wasn't
registered. What is it that is different about Chimera? My .xpt file(s)
are in the (normal) mozilla/dist/bin/components spot (which makes me
suspicious, since Chimera isn't in the mozilla/dist/ tree, but has it's own
Chimera/ tree).
TIA.