> On the Mozilla > trunk we've fixed the headers so that you could use nsIDocument from > frozen-linkage code, but that doesn't help you much on the branches.
Does that mean that if I download firefox trunk, generate the SDK and compile using frozen-linkage code then my extension would be comptabile with this version of Firefox (trunk) or till the interface nsIDocument does not change and will not be compatible with Firefox 1.5.* branches ? Benjamin, I sincerely appreciate your help here and would be very grateful if you could give me some guidelines in order to achieve my objective which is to emualte XmlHttpRequest aysnchrnous functionality in my extension and protocol handler. Regards Kapil Benjamin Smedberg wrote: > ksachdeva wrote: > > > Since I want my extension to be compatibile with versions of Firefox > > which are 1.5+ I intend to use only frozen interfaces i.e do not want > > to use MOZILLA_INTERNAL_API pre-processor. First I made my protocol > > Note that "using frozen linkage" and "using only frozen interfaces" are not > the same thing at all. You can use frozen linkage and still use nonfrozen > interfaces. > > > But now emulating XmlHttpRequest implementation is giving me similar > > problems and I am stuck with no solution for the moment. I am trying to > > use nsIDocument.h whose inclusion require MOZIILA_INTERNAL_API and fail > > with error message <quote>Cannot use internal string classes without > > MOZILLA_INTERNAL_API defined. Use the frozen header nsStringAPI.h > > instead</quote>, the same message which I removed earlier from my > > handler implementation. > > nsIDocument is a very-internal pseudo-interface and it will never be frozen > (it even changed between Firefox 1.5.0.x and Firefox 2). On the Mozilla > trunk we've fixed the headers so that you could use nsIDocument from > frozen-linkage code, but that doesn't help you much on the branches. > > --BDS _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
