-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What id do you use for your component ? it should be something like
@mozilla.org/uriloader/content-handler;1?type=application/x-myapp to get
called on the mimetype.

/mig

fi wrote:
> Hi,
> 
> I implemented an nsIContentHandler for the content type x-application-
> xyz. The component gets registered, I can see the corresponding entry
> in compreg.dat. The server sends a dumb string
> xxxxxxxxxxxxxxxxxxxxxxxxxxxx with the given content type. The handler
> is not invoked. The string is displayed as is in a window. In fact,
> the following methods are called:
> 
> registerSelf from the corresponding Module at startup and
> canUnload during shutdown.
> 
> (But only the first time, when the component gets registered.)
> 
> getClassObject of the module is not called, nor the factory method
> createInstance.
> 
> What did I miss? (I am using XULRunner 1.8.0.7)
> 
> - Andreas
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF2jrVtMkIv0/ruZgRAjh7AJ9mcat4/BBz+t49024bb++g6IyvDACglcFf
oS9oa6200L3hZ3BCekw4Sps=
=m7cn
-----END PGP SIGNATURE-----
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to